Files
frankenphp/package/rhel/frankenphp.service
T
Nordine c12841bf89 Force reload in frankenphp service configuration (#2281)
@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>
2026-03-23 19:30:39 +07:00

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