You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
325 B
8 lines
325 B
#!/usr/bin/with-contenv bash
|
|
if [[ -f /etc/saslauthd.conf ]]; then
|
|
exec s6-setuidgid root saslauthd -a ldap -O /etc/saslauthd.conf -c -m /var/run/saslauthd -n 5 -d
|
|
else
|
|
# if saslauthd should not be started,
|
|
# prevent s6 from restarting this script again and again
|
|
s6-svc -O /var/run/s6/services/10-saslauthd
|
|
fi
|
|
|