2022-06-18 02:40:06 -04:00
|
|
|
# It's not recommended to modify this file in-place, because it
|
|
|
|
|
# will be overwritten during upgrades. If you want to customize,
|
|
|
|
|
# the best way is to use the "systemctl edit" command.
|
|
|
|
|
|
|
|
|
|
[Unit]
|
|
|
|
|
Description=The PHP {$VERSION} FastCGI Process Manager
|
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
|
|
[Service]
|
2022-06-19 00:08:37 -04:00
|
|
|
Type=forking
|
2022-06-20 22:36:05 -04:00
|
|
|
ExecStart={$SERVER_PATH}/php/init.d/php{$VERSION} start
|
|
|
|
|
ExecStop={$SERVER_PATH}/php/init.d/php{$VERSION} stop
|
|
|
|
|
ExecReload={$SERVER_PATH}/php/init.d/php{$VERSION} reload
|
2022-06-19 00:08:37 -04:00
|
|
|
PrivateTmp=false
|
2022-06-18 02:40:06 -04:00
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
|
WantedBy=multi-user.target
|