From 00e2fa6a61e53eb72191f7be9cdbd099a9c039f8 Mon Sep 17 00:00:00 2001 From: mirzaev Date: Mon, 22 Apr 2024 20:33:56 +0700 Subject: [PATCH] systemd service --- libsoc.service | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libsoc.service b/libsoc.service index d0fd9f1..ba74a0d 100644 --- a/libsoc.service +++ b/libsoc.service @@ -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