Skip to content

Commit f5f6acc

Browse files
committed
See #8, use the default PHP binary, and use 4 workers
FossilOrigin-Name: 39f7653d921c800bb13ffc2fe2af2a4e861dd57e6a2eb11eef29b4ddbfa93106
1 parent e677012 commit f5f6acc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

karadav.service

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ After=network.target
55
[Service]
66
Type=simple
77
User=www-data
8-
ExecStart=/usr/bin/php8.1 -S 0.0.0.0:8080 -t /var/lib/karadav/www /var/lib/karadav/www/_router.php
8+
Environment="PHP_CLI_SERVER_WORKERS=3"
9+
ExecStart=/usr/bin/php -S 0.0.0.0:8080 -t /var/lib/karadav/www /var/lib/karadav/www/_router.php
910
Restart=on-failure
1011

1112
[Install]

0 commit comments

Comments
 (0)