summaryrefslogtreecommitdiffstats
path: root/saslauthd/__init__.py
diff options
context:
space:
mode:
authorAeneas Jai├čle <aj@ajaissle.de>2014-08-19 11:35:02 +0200
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2014-08-19 11:35:02 +0200
commitf40f94e60cdb3b07c76408acf9d64f680a0b82ab (patch)
tree75e8bb525abb9efc85e8d425a672f20baa638662 /saslauthd/__init__.py
parentb7448315c76685b66a74368aa6bbfd70c5d7b531 (diff)
downloadpykolab-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/__init__.py')
-rw-r--r--saslauthd/__init__.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/saslauthd/__init__.py b/saslauthd/__init__.py
index 32927a8..b7f81d5 100644
--- a/saslauthd/__init__.py
+++ b/saslauthd/__init__.py
@@ -68,6 +68,15 @@ class SASLAuthDaemon(object):
)
daemon_group.add_option(
+ "-s",
+ "--socket",
+ dest = "socketfile",
+ action = "store",
+ default = "/var/run/saslauthd/mux",
+ help = _("Socket file to bind to.")
+ )
+
+ daemon_group.add_option(
"-u",
"--user",
dest = "process_username",