site-libsoc/libsoc.service

21 lines
383 B
SYSTEMD
Raw Permalink Normal View History

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