diff options
| author | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-06-26 18:35:30 +0000 |
|---|---|---|
| committer | luke <luke@980ebf18-57e1-0310-9a29-db15c13687c0> | 2006-06-26 18:35:30 +0000 |
| commit | bb5366f2602c29405a75dd1ba142ab32b5b08841 (patch) | |
| tree | 04cd01c3d7d57ae152627a3d3214bb37996d68f9 | |
| parent | 3c5b10dba78ec71e99b7021389d9aeb0ad8f4941 (diff) | |
| download | puppet-bb5366f2602c29405a75dd1ba142ab32b5b08841.tar.gz puppet-bb5366f2602c29405a75dd1ba142ab32b5b08841.tar.xz puppet-bb5366f2602c29405a75dd1ba142ab32b5b08841.zip | |
Updating init scripts to use HUP for restarting
git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1310 980ebf18-57e1-0310-9a29-db15c13687c0
| -rw-r--r-- | conf/redhat/client.init | 7 | ||||
| -rw-r--r-- | conf/redhat/server.init | 7 |
2 files changed, 10 insertions, 4 deletions
diff --git a/conf/redhat/client.init b/conf/redhat/client.init index 5b2e7fc02..596ff7872 100644 --- a/conf/redhat/client.init +++ b/conf/redhat/client.init @@ -50,8 +50,11 @@ stop() { } restart() { - stop - start + echo -n $"Restarting puppet: " + killproc $puppetd HUP + RETVAL=$? + echo + return $RETVAL } case "$1" in diff --git a/conf/redhat/server.init b/conf/redhat/server.init index b3af45db8..372caa1a9 100644 --- a/conf/redhat/server.init +++ b/conf/redhat/server.init @@ -59,8 +59,11 @@ stop() { } restart() { - stop - start + echo -n $"Restarting puppet: " + killproc $PUPPETMASTER HUP + RETVAL=$? + echo + return $RETVAL } case "$1" in |
