From d2892e01c4619963c1107624adad62acb4118661 Mon Sep 17 00:00:00 2001 From: burlyUnixGuy Date: Sun, 21 Apr 2024 17:23:34 -0400 Subject: [PATCH] Changed systemctl command from 'restart' to 'try-restart' for fapolicyd. This will prevent fapolicyd service from inadvertantly starting if it was previously disabled. --- bundle/bin/rke2-uninstall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundle/bin/rke2-uninstall.sh b/bundle/bin/rke2-uninstall.sh index a0728c3893..e83228ee98 100755 --- a/bundle/bin/rke2-uninstall.sh +++ b/bundle/bin/rke2-uninstall.sh @@ -105,7 +105,7 @@ uninstall_remove_files() rm -f /etc/fapolicyd/rules.d/80-rke2.rules fi fagenrules --load - systemctl restart fapolicyd + systemctl try-restart fapolicyd fi }