summaryrefslogtreecommitdiff
path: root/community/courier-imap/courier-imap.rc.d
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-04-09 14:42:55 +0000
committerroot <root@rshg047.dnsready.net>2011-04-09 14:42:55 +0000
commitf87ab435eb966ec44eb006c48699e6ee90613286 (patch)
tree28582481a3d3b5d8d82425bc3930f58a0572ae42 /community/courier-imap/courier-imap.rc.d
parent59075f0265483f32e9ac4c67ba9e69cb019ba044 (diff)
Sat Apr 9 14:42:55 UTC 2011
Diffstat (limited to 'community/courier-imap/courier-imap.rc.d')
-rw-r--r--community/courier-imap/courier-imap.rc.d4
1 files changed, 4 insertions, 0 deletions
diff --git a/community/courier-imap/courier-imap.rc.d b/community/courier-imap/courier-imap.rc.d
index 924265b9d..03b9e0183 100644
--- a/community/courier-imap/courier-imap.rc.d
+++ b/community/courier-imap/courier-imap.rc.d
@@ -8,6 +8,10 @@ CI_DAEMONS=
case "$1" in
start)
+
+ [ -d /var/run/courier ] || mkdir -p /var/run/courier
+ chown courier:courier /var/run/courier
+
if [ "$AUTO_AUTHDAEMON" == "true" ]; then
/etc/rc.d/authdaemond start
sleep ${AUTO_AUTHDAEMON_LAG}