View | Details | Raw Unified | Return to bug 43874
Collapse All | Expand All

(-)a/base/univention-base-files/conffiles/etc/init.d/cron (+1 lines)
 Lines 2-7    Link Here 
2
@%@UCRWARNING=# @%@
2
@%@UCRWARNING=# @%@
3
# Start/stop the cron daemon.
3
# Start/stop the cron daemon.
4
#
4
#
5
# pidfile: /var/run/crond.pid
5
### BEGIN INIT INFO
6
### BEGIN INIT INFO
6
# Provides:          cron
7
# Provides:          cron
7
# Required-Start:    $remote_fs $syslog $time
8
# Required-Start:    $remote_fs $syslog $time
(-)a/base/univention-base-files/conffiles/etc/init.d/nscd (+1 lines)
 Lines 1-5    Link Here 
1
#!/bin/sh
1
#!/bin/sh
2
@%@UCRWARNING=# @%@
2
@%@UCRWARNING=# @%@
3
# pidfile: /var/run/nscd/nscd.pid
3
### BEGIN INIT INFO
4
### BEGIN INIT INFO
4
# Provides:          nscd
5
# Provides:          nscd
5
# Required-Start:    $remote_fs $syslog
6
# Required-Start:    $remote_fs $syslog
(-)a/base/univention-base-files/conffiles/etc/init.d/ntp (+1 lines)
 Lines 1-6    Link Here 
1
#!/bin/sh
1
#!/bin/sh
2
@%@UCRWARNING=# @%@
2
@%@UCRWARNING=# @%@
3
3
4
# pidfile: /var/run/ntpd.pid
4
### BEGIN INIT INFO
5
### BEGIN INIT INFO
5
# Provides:        ntp
6
# Provides:        ntp
6
# Required-Start:  $network $remote_fs $syslog
7
# Required-Start:  $network $remote_fs $syslog
(-)a/base/univention-base-files/conffiles/etc/init.d/openbsd-inetd (+1 lines)
 Lines 1-6    Link Here 
1
#!/bin/sh -e
1
#!/bin/sh -e
2
@%@UCRWARNING=# @%@
2
@%@UCRWARNING=# @%@
3
3
4
# pidfile: /var/run/inetd.pid
4
### BEGIN INIT INFO
5
### BEGIN INIT INFO
5
# Provides:          openbsd-inetd
6
# Provides:          openbsd-inetd
6
# Required-Start:    $local_fs $remote_fs
7
# Required-Start:    $local_fs $remote_fs
(-)a/base/univention-base-files/conffiles/etc/init.d/rpcbind (+1 lines)
 Lines 3-8    Link Here 
3
#
3
#
4
# start/stop rpcbind daemon.
4
# start/stop rpcbind daemon.
5
5
6
# pidfile: /run/rpcbind.pid
6
### BEGIN INIT INFO
7
### BEGIN INIT INFO
7
# Provides:          rpcbind
8
# Provides:          rpcbind
8
# Required-Start:    $network $local_fs
9
# Required-Start:    $network $local_fs
(-)a/base/univention-bootsplash/debian/univention-welcome-screen.init (+1 lines)
 Lines 1-4    Link Here 
1
#!/bin/bash
1
#!/bin/bash
2
# pidfile: /var/run/univention-welcome-screen.pid
2
### BEGIN INIT INFO
3
### BEGIN INIT INFO
3
# Provides:          univention-welcome-screen
4
# Provides:          univention-welcome-screen
4
# Required-Start:    $local_fs
5
# Required-Start:    $local_fs
(-)a/base/univention-heimdal/conffiles/etc/init.d/heimdal-kdc (+1 lines)
 Lines 2-7    Link Here 
2
2
3
@%@UCRWARNING=# @%@
3
@%@UCRWARNING=# @%@
4
4
5
# pidfile: /var/run/heimdal-kdc.pid
5
### BEGIN INIT INFO
6
### BEGIN INIT INFO
6
# Provides:          heimdal-kdc
7
# Provides:          heimdal-kdc
7
# Required-Start:    $remote_fs $syslog
8
# Required-Start:    $remote_fs $syslog
(-)a/base/univention-runit/debian/univention-runit.init (-5 / +7 lines)
 Lines 1-4    Link Here 
1
#!/bin/sh
1
#!/bin/sh
2
# pidfile: /var/run/univention-runit.pid
2
### BEGIN INIT INFO
3
### BEGIN INIT INFO
3
# Provides:          univention-runit
4
# Provides:          univention-runit
4
# Required-Start:    $local_fs
5
# Required-Start:    $local_fs
 Lines 39-65    Link Here 
39
NAME='univention-runit'
40
NAME='univention-runit'
40
DESC=$(get_lsb_header_val "$0" Short-Description)
41
DESC=$(get_lsb_header_val "$0" Short-Description)
41
DAEMON="/usr/sbin/runsvdir-start"
42
DAEMON="/usr/sbin/runsvdir-start"
43
PIDFILE='/var/run/univention-runit.pid'
42
44
43
case "$1" in
45
case "$1" in
44
	start)
46
	start)
45
		log_daemon_msg "Starting $DESC" "$NAME"
47
		log_daemon_msg "Starting $DESC" "$NAME"
46
		start-stop-daemon --start --background --exec "$DAEMON"
48
		start-stop-daemon --start --quiet --oknodo --pidfile "$PIDFILE" --make-pidfile --background --exec "$DAEMON"
47
		log_end_msg $?
49
		log_end_msg $?
48
		;;
50
		;;
49
	stop)
51
	stop)
50
		log_daemon_msg "Stopping $DESC" "$NAME"
52
		log_daemon_msg "Stopping $DESC" "$NAME"
51
		killall -s HUP runsvdir
53
		start-stop-daemon --stop --quiet --oknodo --pidfile "$PIDFILE" --remove-pidfile --retry HUP/30/KILL/5 --name runsvdir
52
		log_end_msg $?
54
		log_end_msg $?
53
		;;
55
		;;
54
	restart|force-reload)
56
	restart|force-reload)
55
		log_daemon_msg "Restarting $DESC" "$NAME"
57
		log_daemon_msg "Restarting $DESC" "$NAME"
56
		killall -s HUP runsvdir
58
		start-stop-daemon --stop --quiet --oknodo --pidfile "$PIDFILE" --remove-pidfile --retry HUP/30/KILL/5 --name runsvdir
57
		sleep 1
59
		sleep 1
58
		start-stop-daemon --start --background --exec "$DAEMON"
60
		start-stop-daemon --start --quiet --pidfile "$PIDFILE" --make-pidfile --background --exec "$DAEMON"
59
		log_end_msg $?
61
		log_end_msg $?
60
		;;
62
		;;
61
	status)
63
	status)
62
		status_of_proc "$DAEMON" "$DESC"
64
		status_of_proc -p "$PIDFILE" "$DAEMON" "$DESC"
63
		;;
65
		;;
64
	*)
66
	*)
65
		echo "Usage: $0 {start|stop|restart|force-reload|status}"
67
		echo "Usage: $0 {start|stop|restart|force-reload|status}"
(-)a/container/univention-docker/conffiles/etc/init.d/docker (+1 lines)
 Lines 1-6    Link Here 
1
#!/bin/sh
1
#!/bin/sh
2
@%@UCRWARNING=# @%@
2
@%@UCRWARNING=# @%@
3
3
4
# pidfile: /var/run/docker.pid
4
### BEGIN INIT INFO
5
### BEGIN INIT INFO
5
# Provides:           docker
6
# Provides:           docker
6
# Required-Start:     $syslog $remote_fs
7
# Required-Start:     $syslog $remote_fs
(-)a/doc/developer-reference/ucr/service/conffiles/etc/init.d/atd (+1 lines)
 Lines 1-5    Link Here 
1
#! /bin/sh
1
#! /bin/sh
2
@%@UCRWARNING=# @%@
2
@%@UCRWARNING=# @%@
3
# pidfile: /var/run/atd.pid
3
### BEGIN INIT INFO
4
### BEGIN INIT INFO
4
# Provides:          atd
5
# Provides:          atd
5
# Required-Start:    $syslog $time $remote_fs
6
# Required-Start:    $syslog $time $remote_fs
(-)a/mail/univention-mail-dovecot/conffiles/etc/init.d/dovecot (+1 lines)
 Lines 1-6    Link Here 
1
#! /bin/sh
1
#! /bin/sh
2
@%@UCRWARNING=# @%@
2
@%@UCRWARNING=# @%@
3
3
4
# pidfile: /var/run/dovecot/master.pid
4
### BEGIN INIT INFO
5
### BEGIN INIT INFO
5
# Provides:          dovecot
6
# Provides:          dovecot
6
# Required-Start:    $local_fs $remote_fs $network $syslog $time
7
# Required-Start:    $local_fs $remote_fs $network $syslog $time
(-)a/mail/univention-mail-postfix/conffiles/etc/init.d/postfix (+1 lines)
 Lines 7-12    Link Here 
7
# LaMont Jones <lamont@debian.org>
7
# LaMont Jones <lamont@debian.org>
8
# based on sendmail's init.d script
8
# based on sendmail's init.d script
9
9
10
# pidfile: /var/spool/postfix/pid/master.pid
10
### BEGIN INIT INFO
11
### BEGIN INIT INFO
11
# Provides:          postfix mail-transport-agent
12
# Provides:          postfix mail-transport-agent
12
# Required-Start:    $local_fs $remote_fs $syslog $named $network $time
13
# Required-Start:    $local_fs $remote_fs $syslog $named $network $time
(-)a/mail/univention-postgrey/conffiles/etc/init.d/postgrey (+1 lines)
 Lines 41-46    Link Here 
41
#
41
#
42
# Version:      $Id: postgrey.init 1436 2006-12-07 07:15:03Z avbidder $
42
# Version:      $Id: postgrey.init 1436 2006-12-07 07:15:03Z avbidder $
43
#
43
#
44
# pidfile: /var/run/postgrey.pid
44
### BEGIN INIT INFO
45
### BEGIN INIT INFO
45
# Provides:          postgrey
46
# Provides:          postgrey
46
# Required-Start:    $syslog $local_fs $remote_fs
47
# Required-Start:    $syslog $local_fs $remote_fs
(-)a/management/univention-management-console/debian/univention-management-console-server.init (+1 lines)
 Lines 1-4    Link Here 
1
#!/bin/sh
1
#!/bin/sh
2
# pidfile: /var/run/umc-server.pid
2
### BEGIN INIT INFO
3
### BEGIN INIT INFO
3
# Provides:          univention-management-console-server
4
# Provides:          univention-management-console-server
4
# Required-Start:    $network $remote_fs
5
# Required-Start:    $network $remote_fs
(-)a/management/univention-management-console/debian/univention-management-console-web-server.init (+1 lines)
 Lines 1-4    Link Here 
1
#!/bin/sh
1
#!/bin/sh
2
# pidfile: /var/run/umc-web-server.pid
2
### BEGIN INIT INFO
3
### BEGIN INIT INFO
3
# Provides:          univention-management-console-web-server
4
# Provides:          univention-management-console-web-server
4
# Required-Start:    $network $remote_fs univention-management-console-server
5
# Required-Start:    $network $remote_fs univention-management-console-server
(-)a/nagios/univention-nagios/conffiles/etc/init.d/nagios-nrpe-server (-1 / +1 lines)
 Lines 1-7    Link Here 
1
#! /bin/sh
1
#! /bin/sh
2
#
3
@%@UCRWARNING=# @%@
2
@%@UCRWARNING=# @%@
4
3
4
# pidfile: /var/run/nagios/nrpe.pid
5
### BEGIN INIT INFO
5
### BEGIN INIT INFO
6
# Provides:          nagios-nrpe-server
6
# Provides:          nagios-nrpe-server
7
# Required-Start:    $local_fs $remote_fs $syslog $named $network $time
7
# Required-Start:    $local_fs $remote_fs $syslog $named $network $time
(-)a/nagios/univention-nagios/conffiles/etc/init.d/nagios3 (+1 lines)
 Lines 8-13    Link Here 
8
#		Nagios version by Sean Finney <seanius@debian.org> and probably others
8
#		Nagios version by Sean Finney <seanius@debian.org> and probably others
9
#		nagios2 version by Marc Haber <mh+debian-packages@zugschlus.de>
9
#		nagios2 version by Marc Haber <mh+debian-packages@zugschlus.de>
10
10
11
# pidfile: /var/run/nagios3/nagios3.pid
11
### BEGIN INIT INFO
12
### BEGIN INIT INFO
12
# Provides:          nagios3
13
# Provides:          nagios3
13
# Required-Start:    $local_fs $remote_fs $syslog $named $network $time
14
# Required-Start:    $local_fs $remote_fs $syslog $named $network $time
(-)a/services/univention-ad-connector/debian/univention-ad-connector.init (+1 lines)
 Lines 1-4    Link Here 
1
#!/bin/sh
1
#!/bin/sh
2
# pidfile: /var/run/univention-ad-connector
2
### BEGIN INIT INFO
3
### BEGIN INIT INFO
3
# Provides:          univention-ad-connector
4
# Provides:          univention-ad-connector
4
# Required-Start:    $network $remote_fs slapd
5
# Required-Start:    $network $remote_fs slapd
(-)a/services/univention-net-installer/debian/univention-net-installer-daemon.init.d (+1 lines)
 Lines 29-34    Link Here 
29
# /usr/share/common-licenses/AGPL-3; if not, see
29
# /usr/share/common-licenses/AGPL-3; if not, see
30
# <http://www.gnu.org/licenses/>.
30
# <http://www.gnu.org/licenses/>.
31
#
31
#
32
# pidfile: /var/run/univention-net-installer-daemon.pid
32
### BEGIN INIT INFO
33
### BEGIN INIT INFO
33
# Provides:          univention-net-installer-daemon
34
# Provides:          univention-net-installer-daemon
34
# Required-Start:    $network $local_fs
35
# Required-Start:    $network $local_fs
(-)a/services/univention-s4-connector/debian/univention-s4-connector.init (+1 lines)
 Lines 1-4    Link Here 
1
#!/bin/sh
1
#!/bin/sh
2
# pidfile: /var/run/univention-s4-connector
2
### BEGIN INIT INFO
3
### BEGIN INIT INFO
3
# Provides:          univention-s4-connector
4
# Provides:          univention-s4-connector
4
# Required-Start:    $network $remote_fs slapd samba-ad-dc
5
# Required-Start:    $network $remote_fs slapd samba-ad-dc
(-)a/services/univention-samba/conffiles/etc/init.d/samba (+1 lines)
 Lines 4-9    Link Here 
4
# Written by Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org>
4
# Written by Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org>
5
# Modified for UCS by Univention <packages@univention.de>
5
# Modified for UCS by Univention <packages@univention.de>
6
6
7
# pidfile: /var/run/samba/smbd.pid
7
### BEGIN INIT INFO
8
### BEGIN INIT INFO
8
# Provides:          samba
9
# Provides:          samba
9
# Required-Start:    $network $local_fs $remote_fs
10
# Required-Start:    $network $local_fs $remote_fs
(-)a/virtualization/univention-novnc/debian/univention-novnc.init (+1 lines)
 Lines 1-4    Link Here 
1
#!/bin/sh
1
#!/bin/sh
2
# pidfile: /var/run/univention-novnc.pid
2
### BEGIN INIT INFO
3
### BEGIN INIT INFO
3
# Provides:          univention-novnc
4
# Provides:          univention-novnc
4
# Required-Start:    $network $local_fs
5
# Required-Start:    $network $local_fs

Return to bug 43874