systemd service

This commit is contained in:
Arsen Mirzaev Tatyano-Muradovich 2024-04-22 20:33:56 +07:00
parent 88938cc15c
commit 00e2fa6a61

View File

@ -5,8 +5,11 @@ Wants=network.target
After=syslog.target network-online.target
[Service]
; User=
User=mirzaev
WorkingDirectory=/var/www/libsoc.org/Server
ExecStart=/var/www/libsoc.org/Server/bin/server.sh
; ExecStart=/bin/bash ./bin/server.sh
ExecStart=/bin/fish ./bin/server.sh
PIDFile=/var/run/php/libsoc.pid
RemainAfterExit=no
RuntimeMaxSec=86400s