summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2011-05-23 15:37:09 +1000
committerMartin Schwenke <martin@meltin.net>2011-08-11 10:46:57 +1000
commit8fb04d451e526547376c5645e08072ad8caf6727 (patch)
tree1e0b4a46bc93c2cc718e221b3ff0beb1ced10cc1
parentb01d99a8facd20a103730be7570e17f47927c24f (diff)
downloadsamba-8fb04d451e526547376c5645e08072ad8caf6727.tar.gz
samba-8fb04d451e526547376c5645e08072ad8caf6727.tar.xz
samba-8fb04d451e526547376c5645e08072ad8caf6727.zip
Eventscripts: 50.samba needs null service_reconfigure() function.
Samba doesn't need to do anything for configuration changes. It will notice configuration changes and reload automatically. Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit de13350c17261032a7468c2cf4d2cf4a8d66a840)
-rwxr-xr-xctdb/config/events.d/50.samba6
1 files changed, 6 insertions, 0 deletions
diff --git a/ctdb/config/events.d/50.samba b/ctdb/config/events.d/50.samba
index bee4f18f86..25e7f7596c 100755
--- a/ctdb/config/events.d/50.samba
+++ b/ctdb/config/events.d/50.samba
@@ -113,6 +113,12 @@ service_stop ()
return 0
}
+service_reconfigure ()
+{
+ # Samba automatically reloads config - no restart needed.
+ :
+}
+
# set default samba cleanup period - in minutes
[ -z "$SAMBA_CLEANUP_PERIOD" ] && {
SAMBA_CLEANUP_PERIOD=10