From 2624e60ee751ddd86b8d4588e97d774a576bc430 Mon Sep 17 00:00:00 2001 From: Ayman Bagabas Date: Wed, 3 May 2023 13:42:47 -0400 Subject: [PATCH] fix(nfpm): don't enable and start systemd service by default --- .nfpm/postinstall.sh | 3 --- .nfpm/postremove.sh | 3 --- 2 files changed, 6 deletions(-) diff --git a/.nfpm/postinstall.sh b/.nfpm/postinstall.sh index 85b4f8a68972f491a3147344cf847505a46f161f..40400b0ee9623eb572f8752297001d6670ac258c 100755 --- a/.nfpm/postinstall.sh +++ b/.nfpm/postinstall.sh @@ -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 diff --git a/.nfpm/postremove.sh b/.nfpm/postremove.sh index 64392df5f5f135e12c26b8f1ad6779d9f31a5844..d4da1b6780b4483f095832755447af10839f0ea3 100755 --- a/.nfpm/postremove.sh +++ b/.nfpm/postremove.sh @@ -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