Merge pull request #8 from Tofee/main

Provide example systemd service file
This commit is contained in:
BohwaZ 2022-11-03 11:12:13 +01:00 committed by GitHub
commit 40b3a6528e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

13
karadav.service Normal file
View 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