From 07e93977ebac48624b7cf3b79a752b7069989a76 Mon Sep 17 00:00:00 2001 From: stdweird Date: Mon, 18 Mar 2024 14:41:48 +0100 Subject: [PATCH] fix typo: cdp-listend should not mess with sshd --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 68c0caa..b3abfcd 100644 --- a/pom.xml +++ b/pom.xml @@ -112,7 +112,7 @@ if [ "$1" -eq 0 ]; then # Uninstall rather than upgrade # Do not stop the service as the uninstall may happen from within the service... if [ -x /bin/systemctl ]; then - /bin/systemctl --no-reload disable sshd.service > /dev/null 2>&1 || : + /bin/systemctl --no-reload disable ${project.artifactId}.service > /dev/null 2>&1 || : else /sbin/chkconfig --del ${project.artifactId} fi