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

(-)debian/univention-ldap-server.cron.d (-8 lines)
 Lines 1-8    Link Here 
1
#
2
# cron job for univention-ldap-server
3
#
4
SHELL=/bin/sh
5
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
6
7
0 0	* * *	root		/usr/sbin/univention-ldap-backup
8
(-)debian/univention-ldap-server.univention-config-registry (+5 lines)
 Lines 72-74    Link Here 
72
Variables: ldap/database/mdb/envflags
72
Variables: ldap/database/mdb/envflags
73
Variables: ldap/cachesize
73
Variables: ldap/cachesize
74
Variables: ldap/idlcachesize
74
Variables: ldap/idlcachesize
75
76
Type: file
77
File: etc/cron.d/univention-ldap-server
78
Variables: slapd/backup
79
Variables: slapd/backup/cron
(-)debian/changelog (+6 lines)
 Lines 1-3    Link Here 
1
univention-ldap (10.1.1-2) unstable; urgency=low
2
3
  * added UCR template for cron.d/univention-ldap-server Issue #2224  
4
5
 -- Felix Botner <botner@univention.de>  Tue, 28 Jul 2015 11:25:18 +0200
6
1
univention-ldap (10.1.1-1) trusty; urgency=medium
7
univention-ldap (10.1.1-1) trusty; urgency=medium
2
8
3
  * bump version
9
  * bump version
(-)debian/univention-ldap-server.univention-config-registry-variables (+12 lines)
 Lines 179-181    Link Here 
179
Description[en]=Specify time and size limits based on the operation's initiator or base DN.
179
Description[en]=Specify time and size limits based on the operation's initiator or base DN.
180
Type=str
180
Type=str
181
Categories=service-ldap
181
Categories=service-ldap
182
183
[slapd/backup]
184
Description[de]=Aktiviert/Deaktiviert das Backup der slapd Datenbank (slapcat).
185
Description[en]=Activates/deactivates the slapd database backup (slapcat).
186
Type=bool
187
Categories=service-ldap
188
189
[slapd/backup/cron]
190
Description[de]=Cron-Intervall für das Backup der slapd Datenbank.
191
Description[en]=Cron interval for the slapd database backup.
192
Type=str
193
Categories=service-ldap
(-)conffiles/etc/cron.d/univention-ldap-server (+17 lines)
Line 0    Link Here 
1
@%@UCRWARNING=# @%@
2
#
3
# cron job for univention-ldap-server
4
#
5
6
SHELL=/bin/sh
7
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
8
9
@!@
10
command = '/usr/sbin/univention-ldap-backup'
11
interval = configRegistry.get('slapd/backup/cron', '0 0 * * *')
12
user = 'root'
13
if configRegistry.is_true('slapd/backup', True):
14
	print '%s %s %s' % (interval, user, command)
15
else:
16
	print '# %s disbaled by UCR slapd/backup' % command
17
@!@

Return to bug 38679