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:
f928c20
)
Eventscripts: 50.samba needs null service_reconfigure() function.
author
Martin Schwenke
<martin@meltin.net>
Mon, 23 May 2011 05:37:09 +0000
(15:37 +1000)
committer
Martin Schwenke
<martin@meltin.net>
Thu, 11 Aug 2011 00:46:57 +0000
(10:46 +1000)
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>
config/events.d/50.samba
patch
|
blob
|
history
diff --git
a/config/events.d/50.samba
b/config/events.d/50.samba
index bee4f18f86f42c8b1fc2e4f23d66ffc6a947ece7..25e7f7596c7dabaa5243640bb1d294896514ff59 100755
(executable)
--- a/
config/events.d/50.samba
+++ b/
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