diff options
Diffstat (limited to 'saslauthd')
-rw-r--r-- | saslauthd/Makefile.am | 2 | ||||
-rw-r--r-- | saslauthd/kolab-saslauthd.systemd | 15 |
2 files changed, 17 insertions, 0 deletions
diff --git a/saslauthd/Makefile.am b/saslauthd/Makefile.am index 1574115..21ae0a5 100644 --- a/saslauthd/Makefile.am +++ b/saslauthd/Makefile.am @@ -1,5 +1,6 @@ EXTRA_DIST = \ kolab-saslauthd.sysconfig \ + kolab-saslauthd.systemd \ kolab-saslauthd.sysvinit saslauthddir = $(pythondir)/saslauthd @@ -7,6 +8,7 @@ saslauthd_PYTHON = $(wildcard *.py) install-exec-local: mkdir -p $(DESTDIR)/$(localstatedir)/run/kolab-saslauthd \ + $(DESTDIR)/$(localstatedir)/run/kolab-saslauthd \ $(DESTDIR)/$(localstatedir)/run/saslauthd \ $(DESTDIR)/$(localstatedir)/lib/kolab-saslauthd diff --git a/saslauthd/kolab-saslauthd.systemd b/saslauthd/kolab-saslauthd.systemd new file mode 100644 index 0000000..a39073c --- /dev/null +++ b/saslauthd/kolab-saslauthd.systemd @@ -0,0 +1,15 @@ +[Unit] +Description=Kolab Groupware SASL Authentication Daemon. +After=syslog.target network.target + +[Service] +Type=forking +PIDFile=/var/run/kolab-saslauthd/kolab-saslauthd.pid +EnvironmentFile=/etc/sysconfig/kolab-saslauthd +ExecStart=/usr/sbin/kolab-saslauthd $FLAGS +ExecReload=/bin/kill -HUP $MAINPID +ExecStop=/bin/kill -TERM $MAINPID + +[Install] +WantedBy=multi-user.target + |