File: elogind.init

package info (click to toggle)
elogind 255.17-1debian4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 14,552 kB
  • sloc: ansic: 162,957; xml: 22,072; python: 1,158; sh: 250; makefile: 174; cpp: 51; awk: 29
file content (23 lines) | stat: -rw-r--r-- 780 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh
# kFreeBSD does not accept scripts as interpreters, using #!/bin/sh and sourcing.
if [ true != "$INIT_D_SCRIPT_SOURCED" ] ; then
    set "$0" "$@"; INIT_D_SCRIPT_SOURCED=true . /lib/init/init-d-script
fi
### BEGIN INIT INFO
# Provides: elogind
# Required-Start: dbus $remote_fs $syslog
# Required-Stop: dbus $remote_fs $syslog
# X-Start-Before: docker $x-display-manager
# X-Stop-After: docker
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: start elogind at boot time
# Description: Enable user and session management by elogind
### END INIT INFO

DAEMON=/usr/libexec/elogind
PIDFILE=/run/elogind.pid
DAEMON_ARGS='-D'
# Try SIGINT first for graceful stop so that existing sessions are not lost.
STOP_ARGS='--retry 30 --signal INT'
RELOAD_SIGNAL=HUP