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

(-)a/ucs-4.0-2/base/univention-welcome-screen/conffiles/etc/logrotate.d/univention-welcome-screen (+12 lines)
Line 0    Link Here 
1
@%@UCRWARNING=# @%@
2
3
@!@
4
import univention.lib.ucrLogrotate
5
6
settings = univention.lib.ucrLogrotate.getLogrotateConfig("welcome-screen", configRegistry)
7
8
print "/var/log/univention/welcome-screen.log {"
9
for setting in settings.values():
10
	print "\t%s" % setting
11
print "}"
12
@!@
(-)a/ucs-4.0-2/base/univention-welcome-screen/debian/univention-welcome-screen.init (-1 / +1 lines)
 Lines 48-54   case "$1" in Link Here 
48
				exit 0
48
				exit 0
49
			fi
49
			fi
50
		fi
50
		fi
51
		/usr/bin/univention-welcome-screen > "/var/log/univention/welcome-screen.log" 2>&1 &
51
		/usr/bin/univention-welcome-screen >> "/var/log/univention/welcome-screen.log" 2>&1 &
52
		log_action_end_msg 0
52
		log_action_end_msg 0
53
		;;
53
		;;
54
	stop)
54
	stop)
(-)a/ucs-4.0-2/base/univention-welcome-screen/debian/univention-welcome-screen.postinst (+39 lines)
Line 0    Link Here 
1
#!/bin/sh
2
#
3
# Univention Welcome Screen
4
#  postinst script for the debian package
5
#
6
# Copyright 2015 Univention GmbH
7
#
8
# http://www.univention.de/
9
#
10
# All rights reserved.
11
#
12
# The source code of this program is made available
13
# under the terms of the GNU Affero General Public License version 3
14
# (GNU AGPL V3) as published by the Free Software Foundation.
15
#
16
# Binary versions of this program provided by Univention to you as
17
# well as other copyrighted, protected or trademarked materials like
18
# Logos, graphics, fonts, specific documentations and configurations,
19
# cryptographic keys etc. are subject to a license agreement between
20
# you and Univention and not subject to the GNU AGPL V3.
21
#
22
# In the case you use this program under the terms of the GNU AGPL V3,
23
# the program is provided in the hope that it will be useful,
24
# but WITHOUT ANY WARRANTY; without even the implied warranty of
25
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26
# GNU Affero General Public License for more details.
27
#
28
# You should have received a copy of the GNU Affero General Public
29
# License with the Debian GNU/Linux or Univention distribution in file
30
# /usr/share/common-licenses/AGPL-3; if not, see
31
# <http://www.gnu.org/licenses/>.
32
33
. /usr/share/univention-lib/all.sh
34
35
#DEBHELPER#
36
37
create_logfile /var/log/univention/welcome-screen.log "root:adm" 640
38
39
exit 0
(-)a/ucs-4.0-2/base/univention-welcome-screen/debian/univention-welcome-screen.univention-config-registry (+4 lines)
 Lines 5-7   Variables: server/role Link Here 
5
Variables: hostname
5
Variables: hostname
6
Variables: domainname
6
Variables: domainname
7
Variables: umc/web/appliance/.*
7
Variables: umc/web/appliance/.*
8
9
Type: file
10
File: etc/logrotate.d/univention-welcome-screen
11
Variables: logrotate/.*

Return to bug 38837