Skip to content

Commit

Permalink
fix(nfpm): don't enable and start systemd service by default
Browse files Browse the repository at this point in the history
  • Loading branch information
aymanbagabas committed May 3, 2023
1 parent 0e3363c commit 2624e60
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
3 changes: 0 additions & 3 deletions .nfpm/postinstall.sh
Expand Up @@ -9,9 +9,6 @@ fi
systemd-sysusers
systemd-tmpfiles --create

echo "Enabling and starting soft-server.service"
systemctl daemon-reload
systemctl unmask soft-serve.service
systemctl preset soft-serve.service
systemctl enable soft-serve.service
systemctl restart soft-serve.service
3 changes: 0 additions & 3 deletions .nfpm/postremove.sh
Expand Up @@ -6,9 +6,6 @@ if ! command -V systemctl >/dev/null 2>&1; then
exit 0
fi

echo "Disabling and starting soft-server.service"
systemctl stop soft-serve.service
systemctl disable soft-serve.service
systemctl daemon-reload
systemctl reset-failed

Expand Down

0 comments on commit 2624e60

Please sign in to comment.