mirror of
https://github.com/dunglas/frankenphp.git
synced 2026-04-22 16:27:12 +08:00
c12841bf89
@henderkes This resolve the `symlink` issue for the symlink deployment strategy. _alpine already have the force flag._ --------- Signed-off-by: Nordine <5256921+kitro@users.noreply.github.com>
27 lines
722 B
Desktop File
27 lines
722 B
Desktop File
[Unit]
|
|
Description=FrankenPHP - The modern PHP app server
|
|
Documentation=https://frankenphp.dev/docs/
|
|
After=network.target network-online.target
|
|
Requires=network-online.target
|
|
|
|
[Service]
|
|
Type=notify
|
|
User=frankenphp
|
|
Group=frankenphp
|
|
ExecStartPre=/usr/bin/frankenphp validate --config /etc/frankenphp/Caddyfile
|
|
ExecStart=/usr/bin/frankenphp run --environ --config /etc/frankenphp/Caddyfile
|
|
ExecReload=/usr/bin/frankenphp reload --config /etc/frankenphp/Caddyfile --force
|
|
WorkingDirectory=/var/lib/frankenphp
|
|
Restart=on-failure
|
|
RestartSec=3s
|
|
TimeoutStopSec=5s
|
|
LimitNOFILE=1048576
|
|
LimitNPROC=512
|
|
PrivateTmp=true
|
|
ProtectHome=true
|
|
ProtectSystem=full
|
|
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|