diff --git a/extras/bin/agent-shutdown b/extras/bin/agent-shutdown index 1c6bc64..c8ab254 100755 --- a/extras/bin/agent-shutdown +++ b/extras/bin/agent-shutdown @@ -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