webdav-server/webdav.service.example
Alex van den Hoogen eeae21cd29 Adds a Systemd service unit
I wanted to run this application as a service on my Debian based machine,
which uses systemd as a service manager. Since there was no default or
example service available in this repository, I've added a very simple
service unit.
2018-04-08 12:48:53 +02:00

12 lines
198 B
Text

[Unit]
Description=WebDAV server
After=network.target
[Service]
Type=simple
User=root
ExecStart=/usr/bin/webdav --config /opt/webdav.config
Restart=on-failure
[Install]
WantedBy=multi-user.target