From ff02be8755d143d7584022cad81d6b27ab322915 Mon Sep 17 00:00:00 2001 From: Justin Rich Date: Tue, 9 Jul 2024 11:45:25 -0700 Subject: [PATCH] update service restart approach --- install-linux.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-linux.sh b/install-linux.sh index 50734a7..b5b5bd8 100755 --- a/install-linux.sh +++ b/install-linux.sh @@ -329,7 +329,7 @@ disable_unsupported_services () { restart_services () { # We need to reload any of our changes to the systemd files before restarting systemctl daemon-reload - (cd /;systemctl restart cyral-*) # without this it will use the filenames local to it + systemctl list-unit-files | grep 'cyral-' | awk '{print $1}' | xargs -r systemctl restart } # Perform all Post Installation Tasks