4 # Required-Start: $syslog $network
5 # Required-Stop: $syslog $network
6 # Default-Start: 2 3 4 5
8 # Short-Description: Start the pfixtools daemons
11 PATH=/sbin:/bin:/usr/sbin:/usr/bin
13 . /lib/lsb/init-functions
14 test -r /etc/default/pfixtools && . /etc/default/pfixtools
18 [Yy][Ee][Ss]|[Tt][Rr][Uu][Ee]|1) true;;
24 echo "/var/run/pfixtools/$1.pid"
28 log_daemon_msg "Starting pidxtools"
29 if isyes "$SRSD_ENABLE" && test -x /usr/sbin/pfix-srsd; then
30 /usr/sbin/pfix-srsd $SRSD_OPTIONS "$pf" "$SRSD_DOMAIN" "$SRSD_SECRETS"
31 log_progress_msg "pidx-srsd"
37 log_daemon_msg "Stopping pidxtools"
38 if isyes "$SRSD_ENABLE"; then
40 log_progress_msg "pidx-srsd"
57 echo "Usage: $0 {start|stop|restart|force-reload}" >&2