/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: 2012-06-22 23:33:56 UTC
  • Revision ID: teddy@recompile.se-20120622233356-odoqqt2ki2gssn37
* Makefile (check): Also check mandos-ctl.
* mandos-ctl: All options taking a time interval argument can now take
              an RFC 3339 duration.
  (rfc3339_duration_to_delta): New function.
  (string_to_delta): Try rfc3339_duration_to_delta first.
  (main): New "--check" option.
* mandos-ctl.xml (SYNOPSIS, OPTIONS): Document new "--check" option.

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.
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