Skip to content

Commit b2965cb

Browse files
authored
update service restart approach (#23)
1 parent 76bd2c9 commit b2965cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: install-linux.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ disable_unsupported_services () {
329329
restart_services () {
330330
# We need to reload any of our changes to the systemd files before restarting
331331
systemctl daemon-reload
332-
(cd /;systemctl restart cyral-*) # without this it will use the filenames local to it
332+
systemctl list-unit-files | grep 'cyral-' | awk '{print $1}' | xargs -r systemctl restart
333333
}
334334

335335
# Perform all Post Installation Tasks

0 commit comments

Comments
 (0)