git.samba.org
/
sahlberg
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
64831f9
)
dont try starting samba through the "init" event
author
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Thu, 2 Dec 2010 19:07:03 +0000
(06:07 +1100)
committer
Ronnie Sahlberg
<ronniesahlberg@gmail.com>
Thu, 2 Dec 2010 19:07:03 +0000
(06:07 +1100)
config/events.d/50.samba
patch
|
blob
|
history
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