From ab2026523ac2bbdc36399040e3ddadd30251dc32 Mon Sep 17 00:00:00 2001 From: TsMask <340112800@qq.com> Date: Fri, 18 Apr 2025 19:58:29 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=AD=A3sshsvc.service?= =?UTF-8?q?=E8=B7=AF=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- linux/lib/systemd/system/sshsvc.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linux/lib/systemd/system/sshsvc.service b/linux/lib/systemd/system/sshsvc.service index 13bdd26..5c0e161 100644 --- a/linux/lib/systemd/system/sshsvc.service +++ b/linux/lib/systemd/system/sshsvc.service @@ -8,7 +8,7 @@ LimitNOFILE=65535 LimitNPROC=65535 Restart=always -ExecStart=/usr/local/omc/bin/sshsvc -c /usr/local/omc/etc/sshsvc.yaml +ExecStart=/usr/local/bin/sshsvc -c /usr/local/etc/omc/sshsvc.yaml RestartSec=2 RestartPreventExitStatus=SIGTERM SIGKILL ExecReload=/bin/kill -HUP $MAINPID