Projects
Kolab:3.4
pykolab
enable-wallace.patch
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File enable-wallace.patch of Package pykolab (Revision 36)
Currently displaying revision
36
,
Show latest
--- pykolab-0.6.5.orig/pykolab/setup/setup_mta.py 2013-08-22 15:26:51.000000000 +0100 +++ pykolab-0.6.5/pykolab/setup/setup_mta.py 2013-09-15 14:55:48.455545959 +0100 @@ -395,6 +395,14 @@ myaugeas.save() myaugeas.close() + if os.path.isfile('/etc/default/wallace'): + myaugeas = Augeas() + setting = os.path.join('/files/etc/default/wallace','START') + if not myaugeas.get(setting) == 'yes': + myaugeas.set(setting,'yes') + myaugeas.save() + myaugeas.close() + if os.path.isfile('/bin/systemctl'): subprocess.call(['systemctl', 'restart', 'postfix.service']) subprocess.call(['systemctl', 'restart', 'amavisd.service'])
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.