summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Arendsen Hein <thomas@intevation.de>2009-05-07 16:13:33 (GMT)
committerThomas Arendsen Hein <thomas@intevation.de>2009-05-07 16:13:33 (GMT)
commit92cc1ffe2966a59c5375ae3ef4cbeac6fcd0053d (patch)
tree17463e4573f0e6e7ce70ffdbdec12f7f93ab1a36
parentbce93bafa8ad8894b76b085e52860819cd1a7c85 (diff)
downloadkolab-conf-92cc1ffe2966a59c5375ae3ef4cbeac6fcd0053d.tar.gz
Use RUNONCHANGE mechanism to restart or reload imapd:
cyrus.conf.template: openpkg rc imapd reload (see man cyrmaster) imapd.conf.template: openpkg rc imapd restart (reload and reconnect was not enough when I tested changing unixhierarchysep and annotation_definitions) imapd.annotation_definitions.template: openpkg rc imapd restart (reload and reconnect was not enough) imapd.group.template: nothing (a simple reconnect was enough, this is the old behaviour and changing this to restart to force new permissions would be overkill since then all users would be disconnected)
-rw-r--r--conf/templates/cyrus.conf.template.in1
-rw-r--r--conf/templates/imapd.annotation_definitions.template.in1
-rw-r--r--conf/templates/imapd.conf.template.in1
3 files changed, 3 insertions, 0 deletions
diff --git a/conf/templates/cyrus.conf.template.in b/conf/templates/cyrus.conf.template.in
index 3df5811..2f3025b 100644
--- a/conf/templates/cyrus.conf.template.in
+++ b/conf/templates/cyrus.conf.template.in
@@ -2,6 +2,7 @@ KOLAB_META_START
TARGET=@imap_confdir@/cyrus.conf
PERMISSIONS=0640
OWNERSHIP=@imap_usr@:@imap_grp@
+RUNONCHANGE=@KOLABRC@ rc imapd reload
KOLAB_META_END
# (c) 2003 Tassilo Erlewein <tassilo.erlewein@erfrakon.de>
# (c) 2003 Martin Konold <martin.konold@erfrakon.de>
diff --git a/conf/templates/imapd.annotation_definitions.template.in b/conf/templates/imapd.annotation_definitions.template.in
index c9de790..a60c318 100644
--- a/conf/templates/imapd.annotation_definitions.template.in
+++ b/conf/templates/imapd.annotation_definitions.template.in
@@ -2,6 +2,7 @@ KOLAB_META_START
TARGET=@imap_confdir@/imapd.annotation_definitions
PERMISSIONS=0640
OWNERSHIP=@imap_usr@:@imap_grp@
+RUNONCHANGE=@KOLABRC@ rc imapd restart
KOLAB_META_END
/vendor/kolab/folder-test,mailbox,string,backend,value.shared value.priv,a
/vendor/kolab/folder-type,mailbox,string,backend,value.shared value.priv,a
diff --git a/conf/templates/imapd.conf.template.in b/conf/templates/imapd.conf.template.in
index 145dfc2..1b782f4 100644
--- a/conf/templates/imapd.conf.template.in
+++ b/conf/templates/imapd.conf.template.in
@@ -2,6 +2,7 @@ KOLAB_META_START
TARGET=@imap_confdir@/imapd.conf
PERMISSIONS=0640
OWNERSHIP=@imap_usr@:@imap_grp@
+RUNONCHANGE=@KOLABRC@ rc imapd restart
KOLAB_META_END
# (c) 2003 Tassilo Erlewein <tassilo.erlewein@erfrakon.de>
# (c) 2003-2006 Martin Konold <martin.konold@erfrakon.de>