1
0
mirror of https://github.com/gryf/wicd.git synced 2025-12-19 20:38:00 +01:00

add logrotate config file, thanks to David Cantrell for inspiration

This commit is contained in:
David Paleino
2011-10-04 23:19:44 +02:00
parent 6aa22de251
commit 63e120de66
3 changed files with 9 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
%LOG%wicd.log {
missingok
notifempty
size 30k
create %LOGPERMS% root %LOGGROUP%
}

View File

@@ -44,6 +44,7 @@ pmutils = '%PMUTILS%'
dbus = '%DBUS%'
dbus_service = '%DBUS_SERVICE%'
systemd = '%SYSTEMD%'
logrotate = '%LOGROTATE%'
desktop = '%DESKTOP%'
backends= '%BACKENDS%'
daemon = '%DAEMON%'

View File

@@ -136,6 +136,7 @@ class configure(Command):
self.dbus = '/etc/dbus-1/system.d/'
self.dbus_service = '/usr/share/dbus-1/system-services/'
self.systemd = '/lib/systemd/system/'
self.logrotate = '/etc/logrotate.d/'
self.desktop = '/usr/share/applications/'
self.translations = '/usr/share/locale/'
self.autostart = '/etc/xdg/autostart/'
@@ -501,6 +502,7 @@ try:
(wpath.dbus, ['other/wicd.conf']),
(wpath.dbus_service, ['other/org.wicd.daemon.service']),
(wpath.systemd, ['other/wicd.service']),
(wpath.logrotate, ['other/wicd.logrotate']),
(wpath.log, [empty_file]),
(wpath.etc, ['other/dhclient.conf.template.default']),
(wpath.encryption, [('encryption/templates/' + b) for b in