From 2113eed0137630836b3de3e2a8bc17b6cb7198e8 Mon Sep 17 00:00:00 2001 From: luke Date: Tue, 5 Sep 2006 23:46:32 +0000 Subject: Adding hasrestart parameter to services git-svn-id: https://reductivelabs.com/svn/puppet/trunk@1569 980ebf18-57e1-0310-9a29-db15c13687c0 --- examples/root/etc/init.d/sleeper | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'examples') diff --git a/examples/root/etc/init.d/sleeper b/examples/root/etc/init.d/sleeper index a4e28a2fb..6da5eae32 100755 --- a/examples/root/etc/init.d/sleeper +++ b/examples/root/etc/init.d/sleeper @@ -31,6 +31,12 @@ function stop fi } +function restart +{ + stop + start +} + function status { #if [ -n `which pgrep` ]; then -- cgit