Merge pull request #8 from Tofee/main
Provide example systemd service file
This commit is contained in:
commit
40b3a6528e
13
karadav.service
Normal file
13
karadav.service
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
[Unit]
|
||||||
|
Description=WebDAV server
|
||||||
|
After=network.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=simple
|
||||||
|
User=www-data
|
||||||
|
ExecStart=/usr/bin/php8.1 -S 0.0.0.0:8080 -t /var/lib/karadav/www /var/lib/karadav/www/_router.php
|
||||||
|
Restart=on-failure
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Reference in a new issue