aboutsummaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorChristian Ruppert <idl0r@gentoo.org>2012-10-12 21:07:59 +0200
committerChristian Ruppert <idl0r@gentoo.org>2012-10-12 21:07:59 +0200
commitc5bb6829d00a4034f7294aa4af79d5d114572ac1 (patch)
treefabe8e4e2b7571e9986182ae1fb9e12a71f11bf6 /man
parenta9f1ac2dfdc3ab7421ea33ae977f7e078750e542 (diff)
Prepare for real "restart" support
Diffstat (limited to 'man')
-rw-r--r--man/runscript.89
1 files changed, 0 insertions, 9 deletions
diff --git a/man/runscript.8 b/man/runscript.8
index 044bef78..4c8c985b 100644
--- a/man/runscript.8
+++ b/man/runscript.8
@@ -454,15 +454,6 @@ depend()
# This also applies to start_post, stop_pre and stop_post.
start_pre()
{
- if [ "$RC_CMD" = restart ]; then
- # This block will only execute for a restart command. Use a
- # structure like this if you need special processing for a
- # restart which you do not need for a normal start.
- # The function can also fail from here, which will mean that a
- # restart can fail.
- # This logic can also be used in start_post, stop_pre and
- # stop_post.
- fi
# Ensure that our dirs are correct
checkpath --dir --owner foo:foo --mode 0664 \\
/var/run/foo /var/cache/foo