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.
This commit is contained in:
Alex van den Hoogen
2018-04-08 12:48:53 +02:00
parent b645ac51eb
commit eeae21cd29
+12
View File
@@ -0,0 +1,12 @@
[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