run 325 B

12345678
  1. #!/usr/bin/with-contenv bash
  2. if [[ -f /etc/saslauthd.conf ]]; then
  3. exec s6-setuidgid root saslauthd -a ldap -O /etc/saslauthd.conf -c -m /var/run/saslauthd -n 5 -d
  4. else
  5. # if saslauthd should not be started,
  6. # prevent s6 from restarting this script again and again
  7. s6-svc -O /var/run/s6/services/10-saslauthd
  8. fi