rc.dnsproxy
changeset 5 0b0e57cd2ce9
parent 3 e5132efc0413
equal deleted inserted replaced
4:b7fbb644ce4c 5:0b0e57cd2ce9
     1 #! /bin/sh
     1 #! /bin/sh
     2 ### BEGIN INIT INFO
     2 ### BEGIN INIT INFO
     3 # Provides:          skeleton
     3 # Provides:          dnsproxy
     4 # Required-Start:    $remote_fs $syslog
     4 # Required-Start:    $remote_fs $syslog
     5 # Required-Stop:     $remote_fs $syslog
     5 # Required-Stop:     $remote_fs $syslog
     6 # Default-Start:     2 3 4 5
     6 # Default-Start:     2 3 4 5
     7 # Default-Stop:      0 1 6
     7 # Default-Stop:      0 1 6
     8 # Short-Description: Example initscript
     8 # Short-Description: DNS Proxy
     9 # Description:       This file should be used to construct scripts to be
       
    10 #                    placed in /etc/init.d.
       
    11 ### END INIT INFO
     9 ### END INIT INFO
    12 
    10 
    13 # Author: Matthias Förste <foerste@schlittermann.de>
    11 # Author: Matthias Förste <foerste@schlittermann.de>
    14 #
       
    15 
    12 
    16 # PATH should only include /usr/* if it runs after the mountnfs.sh script
    13 PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin
    17 PATH=/sbin:/usr/sbin:/bin:/usr/bin
       
    18 DESC="DNS Proxy"
    14 DESC="DNS Proxy"
    19 NAME=dnsproxy
    15 NAME=dnsproxy
    20 DAEMON=/usr/local/sbin/$NAME
    16 DAEMON=/usr/local/sbin/$NAME
    21 DAEMON_ARGS=""
    17 DAEMON_ARGS=""
    22 PIDFILE=/var/run/$NAME.pid
    18 PIDFILE=/var/run/$NAME.pid