git.samba.org
/
sahlberg
/
ctdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dont try starting samba through the "init" event
[sahlberg/ctdb.git]
/
config
/
events.d
/
50.samba
diff --git
a/config/events.d/50.samba
b/config/events.d/50.samba
index 54a29cf00d123ebc48b5399699e6fd576ebb0145..6e84f5f53dc98e42b32cbaf04a2ac0e76fc2ccae 100755
(executable)
--- a/
config/events.d/50.samba
+++ b/
config/events.d/50.samba
@@
-206,8
+206,10
@@
periodic_cleanup() {
###########################
+[ "$1" = "init" ] || {
ctdb_start_stop_service
ctdb_start_stop_service "winbind"
+}
is_ctdb_managed_service || is_ctdb_managed_service "winbind" || exit 0