/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-24 20:21:45 UTC
  • Revision ID: teddy@recompile.se-20131024202145-456a9y6x910a2vhb
* debian/control (Build-Depends): Changed debhelper version to (>= 9)
                                  to match debian/compat.
* mandos-options.xml (priority): Changed back to normal priority.
  (priority_compat): New option; for the server which needs to a
                     priority string compatible with old keys.
* mandos-conf.xml (OPTIONS/priority): Include "priority_compat".
* mandos.xml (OPTIONS/priority): - '' -

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