See #8, use the default PHP binary, and use 4 workers

This commit is contained in:
bohwaz 2022-11-03 11:32:10 +01:00
parent 40b3a6528e
commit 94bc246f9a

View file

@ -5,7 +5,8 @@ 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
Environment="PHP_CLI_SERVER_WORKERS=3"
ExecStart=/usr/bin/php -S 0.0.0.0:8080 -t /var/lib/karadav/www /var/lib/karadav/www/_router.php
Restart=on-failure
[Install]