| # Required-Start: $remote_fs $syslog |
| # Required-Stop: $remote_fs $syslog |
| # Short-Description: Start freeDiameter daemon at boot time |
| # Description: Start the freeDiameter daemon at boot time. |
| # freeDiameter is an extensible implementation of the Diameter protocol, |
| # designed for Authentication, Authorization and Accounting. Diameter is |
| # an evolution of the RADIUS protocol. |
| DAEMON=/usr/bin/freeDiameterd |
| CONF=/etc/freeDiameter/freeDiameter.conf |
| DESC="freeDiameter daemon" |
| echo -n $"Starting $DAEMON: " |
| start-stop-daemon -S -b -x ${DAEMON} && success || failure |
| echo -n $"Stopping $prog: " |
| start-stop-daemon -K -x $DAEMON |
| rh_status > /dev/null 2>&1 |
| echo $"Usage: $prog {start|stop|status|restart}" |