git.samba.org
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
044d302
)
eventscripts: Remove reconfigure code from httpd eventscript
author
Martin Schwenke
<martin@meltin.net>
Thu, 17 Oct 2013 04:58:25 +0000
(15:58 +1100)
committer
Amitay Isaacs
<amitay@gmail.com>
Tue, 22 Oct 2013 03:34:04 +0000
(14:34 +1100)
Nothing ever (or has ever) set the "needs reconfigure" flag, so this
code is unnecessary.
Signed-off-by: Martin Schwenke <martin@meltin.net>
config/events.d/41.httpd
patch
|
blob
|
history
diff --git
a/config/events.d/41.httpd
b/config/events.d/41.httpd
index 3baa784acb60331f30d941d7a0f913297cf1a3c8..ac0c9419c6ca6d128720fed943e86de1257b3ebf 100755
(executable)
--- a/
config/events.d/41.httpd
+++ b/
config/events.d/41.httpd
@@
-41,19
+41,12
@@
service_stop ()
killall -q -9 $service_name || true
}
-service_reconfigure ()
-{
- service $service_name restart
-}
-
loadconfig
ctdb_start_stop_service
is_ctdb_managed_service || exit 0
-ctdb_service_check_reconfigure
-
case "$1" in
startup)
ctdb_service_start