systemd service
This commit is contained in:
parent
7284991989
commit
2f14958a75
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue