mirror of
https://github.com/hacdias/webdav.git
synced 2026-09-26 05:01:54 +08:00
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:
@@ -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
|
||||||
Reference in New Issue
Block a user