Skip to content

Commit

Permalink
Merge pull request #293 from subutai-io/sysnet
Browse files Browse the repository at this point in the history
fix agent-shutdown script
  • Loading branch information
Dilshat authored Mar 26, 2018
2 parents 5f09fb8 + fd79cc5 commit 64315ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extras/bin/agent-shutdown
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Before=shutdown.target reboot.target halt.target
[Service]
Type=oneshot
ExecStart=/bin/sh -c \"kill -SIGUSR1 `pgrep -f "subutai daemon"`\"
ExecStart=/bin/sh -c \"/bin/kill -SIGUSR1 \`pgrep -f '[s]ubutai daemon'\`\"
[Install]
WantedBy=halt.target reboot.target shutdown.target" > $DIR/$UNIT
Expand Down

0 comments on commit 64315ca

Please sign in to comment.