Univention Bugzilla – Attachment 7055 Details for
Bug 38679
add option to disable univention-ldap-backup
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
univention-ldap.patch
univention-ldap.patch (text/plain), 2.89 KB, created by
Felix Botner
on 2015-07-28 11:33:34 CEST
(
hide
)
Description:
univention-ldap.patch
Filename:
MIME Type:
Creator:
Felix Botner
Created:
2015-07-28 11:33:34 CEST
Size:
2.89 KB
patch
obsolete
>Index: debian/univention-ldap-server.cron.d >=================================================================== >--- debian/univention-ldap-server.cron.d (Revision 3848) >+++ debian/univention-ldap-server.cron.d (Revision 3849) >@@ -1,8 +0,0 @@ >-# >-# cron job for univention-ldap-server >-# >-SHELL=/bin/sh >-PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin >- >-0 0 * * * root /usr/sbin/univention-ldap-backup >- >Index: debian/univention-ldap-server.univention-config-registry >=================================================================== >--- debian/univention-ldap-server.univention-config-registry (Revision 3848) >+++ debian/univention-ldap-server.univention-config-registry (Revision 3849) >@@ -72,3 +72,8 @@ > Variables: ldap/database/mdb/envflags > Variables: ldap/cachesize > Variables: ldap/idlcachesize >+ >+Type: file >+File: etc/cron.d/univention-ldap-server >+Variables: slapd/backup >+Variables: slapd/backup/cron >Index: debian/changelog >=================================================================== >--- debian/changelog (Revision 3848) >+++ debian/changelog (Revision 3849) >@@ -1,3 +1,9 @@ >+univention-ldap (10.1.1-2) unstable; urgency=low >+ >+ * added UCR template for cron.d/univention-ldap-server Issue #2224 >+ >+ -- Felix Botner <botner@univention.de> Tue, 28 Jul 2015 11:25:18 +0200 >+ > univention-ldap (10.1.1-1) trusty; urgency=medium > > * bump version >Index: debian/univention-ldap-server.univention-config-registry-variables >=================================================================== >--- debian/univention-ldap-server.univention-config-registry-variables (Revision 3848) >+++ debian/univention-ldap-server.univention-config-registry-variables (Revision 3849) >@@ -179,3 +179,15 @@ > Description[en]=Specify time and size limits based on the operation's initiator or base DN. > Type=str > Categories=service-ldap >+ >+[slapd/backup] >+Description[de]=Aktiviert/Deaktiviert das Backup der slapd Datenbank (slapcat). >+Description[en]=Activates/deactivates the slapd database backup (slapcat). >+Type=bool >+Categories=service-ldap >+ >+[slapd/backup/cron] >+Description[de]=Cron-Intervall für das Backup der slapd Datenbank. >+Description[en]=Cron interval for the slapd database backup. >+Type=str >+Categories=service-ldap >Index: conffiles/etc/cron.d/univention-ldap-server >=================================================================== >--- conffiles/etc/cron.d/univention-ldap-server (Revision 0) >+++ conffiles/etc/cron.d/univention-ldap-server (Revision 3849) >@@ -0,0 +1,17 @@ >+@%@UCRWARNING=# @%@ >+# >+# cron job for univention-ldap-server >+# >+ >+SHELL=/bin/sh >+PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin >+ >+@!@ >+command = '/usr/sbin/univention-ldap-backup' >+interval = configRegistry.get('slapd/backup/cron', '0 0 * * *') >+user = 'root' >+if configRegistry.is_true('slapd/backup', True): >+ print '%s %s %s' % (interval, user, command) >+else: >+ print '# %s disbaled by UCR slapd/backup' % command >+@!@
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 38679
: 7055