Skip to content

Commit

Permalink
update systemd unit for version update
Browse files Browse the repository at this point in the history
  • Loading branch information
holishing committed Oct 11, 2019
1 parent 03f3d90 commit 8606971
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion sample/bbsd.service
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 4 additions & 4 deletions sample/startbbs.service
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down
2 changes: 1 addition & 1 deletion sample/xchatd.service
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8606971

Please sign in to comment.