Skip to content
This repository was archived by the owner on Oct 23, 2024. It is now read-only.

Commit e81972d

Browse files
authored
Add restart command (#693)
1 parent d14a673 commit e81972d

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

scripts/release/daemon-bin.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,13 @@ case $startStop in
196196

197197
sleep 1; [[ -f ${stdout} ]] && head "$stdout"
198198
;;
199+
200+
(restart)
201+
echo restarting $command
202+
203+
${0} stop $command
204+
${0} start $command
205+
;;
199206

200207
(stop)
201208
if [ -f $pid ]; then

0 commit comments

Comments
 (0)