/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to init.d-mandos

  • Committer: Teddy Hogeborn
  • Date: 2013-10-22 19:46:35 UTC
  • Revision ID: teddy@recompile.se-20131022194635-ll6jyg1snrxwe94o
* TODO

Show diffs side-by-side

added added

removed removed

Lines of Context:
9
9
# Description:       Gives encrypted passwords to Mandos clients
10
10
### END INIT INFO
11
11
 
12
 
# Author: Teddy Hogeborn <teddy@fukt.bsnet.se>
13
 
# Author: Björn Påhlsson <belorn@fukt.bsnet.se>
 
12
# Author: Teddy Hogeborn <teddy@recompile.se>
 
13
# Author: Björn Påhlsson <belorn@recompile.se>
14
14
#
15
15
# Please remove the "Author" lines above and replace them
16
16
# with your own name if you copy and modify this script.
23
23
NAME=mandos
24
24
DAEMON=/usr/sbin/$NAME
25
25
DAEMON_ARGS=""
26
 
PIDFILE=/var/run/$NAME.pid
 
26
PIDFILE=/run/$NAME.pid
27
27
SCRIPTNAME=/etc/init.d/$NAME
28
28
 
29
29
# Exit if the package is not installed
149
149
                ;;
150
150
        esac
151
151
        ;;
 
152
  status)
 
153
        status_of_proc "$DAEMON" "$NAME" -p "$PIDFILE"
 
154
        ;;
152
155
  *)
153
156
        #echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload}" >&2
154
157
        echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2