/mandos/release

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

« back to all changes in this revision

Viewing changes to init.d-mandos

  • Committer: Teddy Hogeborn
  • Date: 2013-12-15 15:38:51 UTC
  • mto: (237.7.272 trunk)
  • mto: This revision was merged to the branch mainline in revision 307.
  • Revision ID: teddy@recompile.se-20131215153851-5bbt3r29ghrib9gn
Depend on avahi-daemon with Provides: "avahi-daemon"m or systemd-sysv.

* debian/control (mandos/Depends): Add "avahi-daemon (>= 0.6.31-3) |
                                   systemd-sysv".

Reported-by: Laurent Bigonville <bigon@debian.org>
Suggested-by: Laurent Bigonville <bigon@debian.org>

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
. /lib/init/vars.sh
45
45
 
46
46
# Define LSB log_* functions.
47
 
# Depend on lsb-base (>= 3.2-14) to ensure that this file is present
48
 
# and status_of_proc is working.
 
47
# Depend on lsb-base (>= 3.2-14) to ensure that this file is present.
49
48
. /lib/lsb/init-functions
50
49
 
51
50
#
123
122
                2) [ "$VERBOSE" != no ] && log_end_msg 1 ;;
124
123
        esac
125
124
        ;;
126
 
  status)
127
 
        status_of_proc "$DAEMON" "$NAME" -p "$PIDFILE" && exit 0 || exit $?
128
 
        ;;
129
125
  #reload|force-reload)
130
126
        #
131
127
        # If do_reload() is not implemented then leave this commented out
152
148
                esac
153
149
                ;;
154
150
          *)
155
 
                # Failed to stop
 
151
                # Failed to stop
156
152
                log_end_msg 1
157
153
                ;;
158
154
        esac
159
155
        ;;
 
156
  status)
 
157
        status_of_proc "$DAEMON" "$NAME" -p "$PIDFILE"
 
158
        ;;
160
159
  *)
161
160
        #echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload}" >&2
162
 
        echo "Usage: $SCRIPTNAME {start|stop|status|restart|force-reload}" >&2
 
161
        echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2
163
162
        exit 3
164
163
        ;;
165
164
esac