diff --git a/in/other=wicd.logrotate.in b/in/other=wicd.logrotate.in new file mode 100644 index 0000000..88a4a03 --- /dev/null +++ b/in/other=wicd.logrotate.in @@ -0,0 +1,6 @@ +%LOG%wicd.log { + missingok + notifempty + size 30k + create %LOGPERMS% root %LOGGROUP% +} diff --git a/in/wicd=wpath.py.in b/in/wicd=wpath.py.in index 2d7f3e3..2318870 100755 --- a/in/wicd=wpath.py.in +++ b/in/wicd=wpath.py.in @@ -44,6 +44,7 @@ pmutils = '%PMUTILS%' dbus = '%DBUS%' dbus_service = '%DBUS_SERVICE%' systemd = '%SYSTEMD%' +logrotate = '%LOGROTATE%' desktop = '%DESKTOP%' backends= '%BACKENDS%' daemon = '%DAEMON%' diff --git a/setup.py b/setup.py index 3db9f04..cb74e7d 100644 --- a/setup.py +++ b/setup.py @@ -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