diff options
| author | Dmitry Kozlov <xeb@mail.ru> | 2011-01-08 14:22:46 +0300 |
|---|---|---|
| committer | Dmitry Kozlov <xeb@mail.ru> | 2011-01-08 14:22:46 +0300 |
| commit | b98f515daa345fb83002a149c1f1f33a7b4644e7 (patch) | |
| tree | 89c1aeb1c047ea5c1b4be7bc1782c0d099904ef9 /contrib/debian/accel-pptp-init | |
| parent | 53f22bd8a8cd4a407b7eb9c9b034b215e2299e30 (diff) | |
| download | accel-ppp-b98f515daa345fb83002a149c1f1f33a7b4644e7.tar.gz accel-ppp-b98f515daa345fb83002a149c1f1f33a7b4644e7.zip | |
updated contrib files
Diffstat (limited to 'contrib/debian/accel-pptp-init')
| -rwxr-xr-x | contrib/debian/accel-pptp-init | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/contrib/debian/accel-pptp-init b/contrib/debian/accel-pptp-init deleted file mode 100755 index fd48332..0000000 --- a/contrib/debian/accel-pptp-init +++ /dev/null @@ -1,59 +0,0 @@ -#!/bin/sh -# /etc/init.d/accel-pptpd: set up the accel-pptp server -### BEGIN INIT INFO -# Provides: accel-pptp -# Required-Start: $networking -# Required-Stop: $networking -# Default-Start: 2 3 4 5 -# Default-Stop: 1 -### END INIT INFO - -set -e - -PATH=/bin:/usr/bin:/sbin:/usr/sbin - -. /lib/lsb/init-functions - -if test -f /etc/default/accel-pptp; then - . /etc/default/accel-pptp -fi - -if [ -z $ACCEL_PPPTD_OPTS ]; then - ACCEL_PPTPD_OPTS="-c /etc/accel-pptp.conf" -fi - -case "$1" in - start) - log_daemon_msg "Starting accel-pptp server" "accel-pptpd" - if start-stop-daemon --start --quiet --oknodo --exec /usr/sbin/accel-pptpd -- -d -p /var/run/accel-pptpd.pid $ACCEL_PPTPD_OPTS; then - log_end_msg 0 - else - log_end_msg 1 - fi - ;; - restart) - log_daemon_msg "Restarting accel-pptp server" "accel-pptpd" - start-stop-daemon --stop --quiet --oknodo --retry 180 --pidfile /var/run/accel-pptpd.pid - if start-stop-daemon --start --quiet --oknodo --exec /usr/sbin/accel-pptpd -- -d -p /var/run/accel-pptpd.pid $ACCEL_PPTPD_OPTS; then - log_end_msg 0 - else - log_end_msg 1 - fi - ;; - - stop) - log_daemon_msg "Stopping accel-pptp server" "accel-pptpd" - start-stop-daemon --stop --quiet --oknodo --retry 180 --pidfile /var/run/accel-pptpd.pid - log_end_msg 0 - ;; - - status) - do_status - ;; - *) - log_success_msg "Usage: /etc/init.d/accel-pptp {start|stop|status|restart}" - exit 1 - ;; -esac - -exit 0 |
