
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.
12 lines
198 B
Text
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
|