Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:msalle:extras
wicd
wicd-managedstdio.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File wicd-managedstdio.patch of Package wicd
--- wicd/wicd-daemon.py.orig 2021-03-20 17:26:01.000000000 +0100 +++ wicd/wicd-daemon.py 2021-04-12 08:50:25.327347898 +0200 @@ -1884,7 +1884,10 @@ if not os.path.exists(wpath.log): os.makedirs(wpath.log) os.chmod(wpath.log, 0755) - output = ManagedStdio(logpath) +# output = ManagedStdio(logpath) + # Set maxsize to 100MB to prevent rotating since we want logrotate to + # do that. Also set maxsave to 15 just to prevent accidental deletion. + output = ManagedStdio(logpath, maxsize=100000000, maxsave=15) if os.path.exists(logpath): try: os.chmod(logpath, int(wpath.log_perms, 8))
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor