fix(nfpm): don't enable and start systemd service by default

Ayman Bagabas created

Change summary

.nfpm/postinstall.sh | 3 ---
.nfpm/postremove.sh  | 3 ---
2 files changed, 6 deletions(-)

Detailed changes

.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

.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