~ubuntu-branches/ubuntu/raring/xdm/raring

« back to all changes in this revision

Viewing changes to debian/xdm.init

  • Committer: Bazaar Package Importer
  • Author(s): David Nusinow, Eugene Konev
  • Date: 2006-06-30 00:42:11 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20060630004211-m2ntbay7eepml8pb
Tags: 1:1.0.5-1
[ Eugene Konev ]
* New upstream release. Fixes security bug on linux-2.6 kernels.
* Don't build-depend on libselinux1-dev on non-linux arches, thanks
  Michael Banck and Christian Perrier (closes: #369519)
* Fix init script reload target, thanks Alexandr Kazda (closes: #365548)
* Fix authDir reference in xdm(1), thanks Kevin Ryde (closes: #373138)
* Update README.Debian, thanks Kevin Ryde (closes: #373870)
* Pass APP_MAN_SUFFIX=1 to configure explicitely.

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
# Update: --name should prevent signalling innocent processes.
46
46
SSD_START_ARGS="--pidfile $PIDFILE --name $(basename $DAEMON) --startas $DAEMON"
47
47
SSD_STOP_ARGS="--pidfile $PIDFILE --name $(basename $DAEMON) --retry TERM/5/TERM/5"
 
48
SSD_RELOAD_ARGS="--pidfile $PIDFILE --name $(basename $DAEMON) --signal 1"
48
49
 
49
50
case "$1" in
50
51
  start)
69
70
 
70
71
  reload)
71
72
    echo -n "Reloading X display manager configuration..."
72
 
    if start-stop-daemon --stop --signal 1 --quiet $SSD_STOP_ARGS; then
 
73
    if start-stop-daemon --stop --quiet $SSD_RELOAD_ARGS; then
73
74
      echo "done."
74
75
    else
75
76
      echo "xdm not running."