/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: 2011-10-08 17:16:24 UTC
  • mfrom: (505.1.6 teddy)
  • Revision ID: teddy@recompile.se-20111008171624-vco9db7dkcirayun
* mandos (ClientDBus.notifychangeproperty): Bug fix: Use instance
                                            attributes instead of
                                            class attributes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
NAME=mandos
24
24
DAEMON=/usr/sbin/$NAME
25
25
DAEMON_ARGS=""
26
 
if [ -d /run/. ]; then
27
 
    PIDFILE=/run/$NAME.pid
28
 
else
29
 
    PIDFILE=/var/run/$NAME.pid
30
 
fi
 
26
PIDFILE=/var/run/$NAME.pid
31
27
SCRIPTNAME=/etc/init.d/$NAME
32
28
 
33
29
# Exit if the package is not installed
153
149
                ;;
154
150
        esac
155
151
        ;;
156
 
  status)
157
 
        status_of_proc "$DAEMON" "$NAME" -p "$PIDFILE"
158
 
        ;;
159
152
  *)
160
153
        #echo "Usage: $SCRIPTNAME {start|stop|restart|reload|force-reload}" >&2
161
154
        echo "Usage: $SCRIPTNAME {start|stop|restart|force-reload}" >&2