systemd service
This commit is contained in:
parent
88938cc15c
commit
00e2fa6a61
|
@ -5,8 +5,11 @@ Wants=network.target
|
||||||
After=syslog.target network-online.target
|
After=syslog.target network-online.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
|
; User=
|
||||||
|
User=mirzaev
|
||||||
WorkingDirectory=/var/www/libsoc.org/Server
|
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
|
PIDFile=/var/run/php/libsoc.pid
|
||||||
RemainAfterExit=no
|
RemainAfterExit=no
|
||||||
RuntimeMaxSec=86400s
|
RuntimeMaxSec=86400s
|
||||||
|
|
Loading…
Reference in New Issue