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:
6
in/other=wicd.logrotate.in
Normal file
6
in/other=wicd.logrotate.in
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
%LOG%wicd.log {
|
||||||
|
missingok
|
||||||
|
notifempty
|
||||||
|
size 30k
|
||||||
|
create %LOGPERMS% root %LOGGROUP%
|
||||||
|
}
|
||||||
@@ -44,6 +44,7 @@ pmutils = '%PMUTILS%'
|
|||||||
dbus = '%DBUS%'
|
dbus = '%DBUS%'
|
||||||
dbus_service = '%DBUS_SERVICE%'
|
dbus_service = '%DBUS_SERVICE%'
|
||||||
systemd = '%SYSTEMD%'
|
systemd = '%SYSTEMD%'
|
||||||
|
logrotate = '%LOGROTATE%'
|
||||||
desktop = '%DESKTOP%'
|
desktop = '%DESKTOP%'
|
||||||
backends= '%BACKENDS%'
|
backends= '%BACKENDS%'
|
||||||
daemon = '%DAEMON%'
|
daemon = '%DAEMON%'
|
||||||
|
|||||||
2
setup.py
2
setup.py
@@ -136,6 +136,7 @@ class configure(Command):
|
|||||||
self.dbus = '/etc/dbus-1/system.d/'
|
self.dbus = '/etc/dbus-1/system.d/'
|
||||||
self.dbus_service = '/usr/share/dbus-1/system-services/'
|
self.dbus_service = '/usr/share/dbus-1/system-services/'
|
||||||
self.systemd = '/lib/systemd/system/'
|
self.systemd = '/lib/systemd/system/'
|
||||||
|
self.logrotate = '/etc/logrotate.d/'
|
||||||
self.desktop = '/usr/share/applications/'
|
self.desktop = '/usr/share/applications/'
|
||||||
self.translations = '/usr/share/locale/'
|
self.translations = '/usr/share/locale/'
|
||||||
self.autostart = '/etc/xdg/autostart/'
|
self.autostart = '/etc/xdg/autostart/'
|
||||||
@@ -501,6 +502,7 @@ try:
|
|||||||
(wpath.dbus, ['other/wicd.conf']),
|
(wpath.dbus, ['other/wicd.conf']),
|
||||||
(wpath.dbus_service, ['other/org.wicd.daemon.service']),
|
(wpath.dbus_service, ['other/org.wicd.daemon.service']),
|
||||||
(wpath.systemd, ['other/wicd.service']),
|
(wpath.systemd, ['other/wicd.service']),
|
||||||
|
(wpath.logrotate, ['other/wicd.logrotate']),
|
||||||
(wpath.log, [empty_file]),
|
(wpath.log, [empty_file]),
|
||||||
(wpath.etc, ['other/dhclient.conf.template.default']),
|
(wpath.etc, ['other/dhclient.conf.template.default']),
|
||||||
(wpath.encryption, [('encryption/templates/' + b) for b in
|
(wpath.encryption, [('encryption/templates/' + b) for b in
|
||||||
|
|||||||
Reference in New Issue
Block a user