site-libsoc/libsoc.service

21 lines
383 B
SYSTEMD

[Unit]
Description=libsoc.org
Wants=network.target
After=syslog.target network-online.target
[Service]
; User=
User=mirzaev
WorkingDirectory=/var/www/libsoc.org/Server
; ExecStart=/bin/bash ./bin/server.sh
ExecStart=/bin/fish ./bin/server.sh
PIDFile=/var/run/php/libsoc.pid
RemainAfterExit=no
RuntimeMaxSec=86400s
Restart=always
RestartSec=5s
[Install]
WantedBy=multi-user.target