From 577959432b79fdd77ca555a6a1abd951068c3ca4 Mon Sep 17 00:00:00 2001 From: Peder Bergebakken Sundt Date: Sat, 24 Feb 2018 21:30:43 +0100 Subject: [PATCH] Add status check in deployment script --- deploy.bash | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/deploy.bash b/deploy.bash index ab0331d..6cf73cd 100755 --- a/deploy.bash +++ b/deploy.bash @@ -22,3 +22,9 @@ tar -c "${files_not_ignored[@]}" | ssh -T "$TARGET" " systemctl --user restart grzegorz@0 " + +sleep 1 + +ssh -T "$TARGET" " + systemctl --user status grzegorz@0 + "