aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2011-08-11 19:50:18 -0300
committerSilvio Rhatto <rhatto@riseup.net>2011-08-11 19:50:18 -0300
commitfa38275daf9e7d133627a82e8ac8c6b3f832491e (patch)
tree402e9a82e68860d58e01f3afd46c86f9733e03a6
parentd9fb697bc7c352ae8e23d20afa450deb179c2edb (diff)
downloadpuppet-nodo-fa38275daf9e7d133627a82e8ac8c6b3f832491e.tar.gz
puppet-nodo-fa38275daf9e7d133627a82e8ac8c6b3f832491e.tar.bz2
Restarting puppet using 'restart' on rc.local
-rw-r--r--files/etc/rc.local3
1 files changed, 1 insertions, 2 deletions
diff --git a/files/etc/rc.local b/files/etc/rc.local
index 17ce810..ce067a7 100644
--- a/files/etc/rc.local
+++ b/files/etc/rc.local
@@ -18,8 +18,7 @@
rm -f /var/lib/puppet/state/puppetdlock
# Then restart puppet with the right hostname
-/etc/init.d/puppet stop
-/etc/init.d/puppet start
+/etc/init.d/puppet restart
# Keep this mountpoint while ekeyd fact needs it
if [ -d "/proc/bus/usb" ]; then