From f484dd58fda7084a952e7efb2b128388a6263fa1 Mon Sep 17 00:00:00 2001 From: opensides Date: Fri, 4 Sep 2009 23:28:11 +0000 Subject: [PATCH] - Added a command to only restart the gosa-si client (Closes #694) git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14219 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/debian/gosa-si-common.init | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/gosa-si/debian/gosa-si-common.init b/gosa-si/debian/gosa-si-common.init index 8ce729a38..2f0dae570 100755 --- a/gosa-si/debian/gosa-si-common.init +++ b/gosa-si/debian/gosa-si-common.init @@ -81,7 +81,17 @@ reload|force-reload|restart) log_daemon_msg "Restarting GOsa support infrastruct log_progress_msg "done" log_end_msg $? ;; -*) log_action_msg "Usage: /etc/init.d/gosa-si {start|stop|restart|reload|force-reload}" +restart-client) log_daemon_msg "Restarting GOsa support infrastructure client" + if [ "$START_CLIENT" = "1" -a -x /usr/sbin/gosa-si-client ]; then + stop_client + fi + if [ "$START_CLIENT" = "1" -a -x /usr/sbin/gosa-si-client ]; then + start_client + fi + log_progress_msg "done" + log_end_msg $? + ;; +*) log_action_msg "Usage: /etc/init.d/gosa-si {start|stop|restart|restart-client|reload|force-reload}" exit 2 ;; esac -- 2.30.2