Skip to content

Commit

Permalink
remove disable systemd service when fixup undo
Browse files Browse the repository at this point in the history
  • Loading branch information
hughjfchen committed May 15, 2022
1 parent 6abc886 commit 0ecf3fd
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ set -u

if [ -n "$RELEASE_HAS_SYSTEMD_SERVICE" ]; then
THE_SERVICE_NAME=$(awk -F'"' '/unitsToStart\+\=/ {print $2}' "$NIX_STORE_PATH"/bin/setup-systemd-units)
[ -n "$THE_SERVICE_NAME" ] && sudo systemctl stop "$THE_SERVICE_NAME" && sudo systemctl disable "$THE_SERVICE_NAME"
# [ -n "$THE_SERVICE_NAME" ] && sudo systemctl stop "$THE_SERVICE_NAME" && sudo systemctl disable "$THE_SERVICE_NAME"
[ -n "$THE_SERVICE_NAME" ] && sudo systemctl stop "$THE_SERVICE_NAME"
fi

done_banner "Top level" "project deploy - fixup - undo"

0 comments on commit 0ecf3fd

Please sign in to comment.