mirror of
https://github.com/hacdias/webdav.git
synced 2024-04-21 12:32:06 +00:00
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.
13 lines
198 B
Plaintext
13 lines
198 B
Plaintext
[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
|