From 8606971de64e570baea8312411a12d62e0a5bcd4 Mon Sep 17 00:00:00 2001 From: holishing Date: Sat, 12 Oct 2019 01:01:17 +0800 Subject: [PATCH] update systemd unit for version update --- sample/bbsd.service | 2 +- sample/startbbs.service | 8 ++++---- sample/xchatd.service | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sample/bbsd.service b/sample/bbsd.service index c46917381..066fbdf36 100644 --- a/sample/bbsd.service +++ b/sample/bbsd.service @@ -5,7 +5,7 @@ After=syslog.target network.target remote-fs.target nss-lookup.target [Service] Type=forking PIDFile=/home/bbs/run/bbs.pid -ExecStart=/home/bbs/bin/bbsd 23 & +ExecStart=/home/bbs/bin-1.3/bbsd 23 & ExecStop=/bin/kill -s QUIT $MAINPID Restart=on-failure RestartSec=42s diff --git a/sample/startbbs.service b/sample/startbbs.service index 5f05f6e92..33d68b586 100644 --- a/sample/startbbs.service +++ b/sample/startbbs.service @@ -7,10 +7,10 @@ User=bbs Group=bbs Type=oneshot ## if set User and Group as bbs, then we don't need sudo commands -ExecStart=/home/bbs/bin/camera -ExecStart=/home/bbs/bin/account -ExecStart=/home/bbs/bin/acpro -ExecStart=/home/bbs/bin/makefw +ExecStart=/home/bbs/bin-1.3/camera +ExecStart=/home/bbs/bin-1.3/account +ExecStart=/home/bbs/bin-1.3/acpro +ExecStart=/home/bbs/bin-1.3/makefw PrivateTmp=true [Install] diff --git a/sample/xchatd.service b/sample/xchatd.service index 195b287c6..2dffac491 100644 --- a/sample/xchatd.service +++ b/sample/xchatd.service @@ -7,7 +7,7 @@ User=bbs Group=bbs Type=forking PIDFile=/home/bbs/run/chat.pid -ExecStart=/home/bbs/bin/xchatd & +ExecStart=/home/bbs/bin-1.3/xchatd & ExecStop=/bin/kill -s QUIT $MAINPID Restart=on-failure RestartSec=42s