diff options
author | Aeneas Jaißle <aj@ajaissle.de> | 2014-08-19 11:35:02 +0200 |
---|---|---|
committer | Jeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com> | 2014-08-19 11:35:02 +0200 |
commit | f40f94e60cdb3b07c76408acf9d64f680a0b82ab (patch) | |
tree | 75e8bb525abb9efc85e8d425a672f20baa638662 /saslauthd/kolab-saslauthd.sysvinit | |
parent | b7448315c76685b66a74368aa6bbfd70c5d7b531 (diff) | |
download | pykolab-f40f94e60cdb3b07c76408acf9d64f680a0b82ab.tar.gz |
This patch adds an option '--socket' that can be used when starting kolab-saslauthd, to specify the socket file to bind to.
Diffstat (limited to 'saslauthd/kolab-saslauthd.sysvinit')
-rw-r--r-- | saslauthd/kolab-saslauthd.sysvinit | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/saslauthd/kolab-saslauthd.sysvinit b/saslauthd/kolab-saslauthd.sysvinit index 033bbc7..5090a65 100644 --- a/saslauthd/kolab-saslauthd.sysvinit +++ b/saslauthd/kolab-saslauthd.sysvinit @@ -24,7 +24,11 @@ if [ -f /etc/init.d/functions ]; then fi # Source our configuration file for these variables. +if [[ -d /var/run/sasl2 ]]; then +SOCKETDIR=/var/run/sasl2 +else SOCKETDIR=/var/run/saslauthd +fi FLAGS="--fork -l warning" if [ -f /etc/sysconfig/kolab-saslauthd ] ; then |