mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
Update yunohost_tools.py
This commit is contained in:
parent
65270dba7b
commit
c74a1bdbf3
1 changed files with 1 additions and 0 deletions
|
@ -223,6 +223,7 @@ def tools_postinstall(domain, password, dyndns=False):
|
||||||
os.system('touch /etc/yunohost/light')
|
os.system('touch /etc/yunohost/light')
|
||||||
else:
|
else:
|
||||||
os.system('service dspam stop')
|
os.system('service dspam stop')
|
||||||
|
os.system('chmod -x /etc/cron.daily/dspam')
|
||||||
os.system('update-rc.d dspam remove')
|
os.system('update-rc.d dspam remove')
|
||||||
os.system('sed -i "s/yes/no/g" /etc/default/dspam')
|
os.system('sed -i "s/yes/no/g" /etc/default/dspam')
|
||||||
os.system('sed -i "s/dspam=no/dspam=yes/" /etc/yunohost/yunohost.conf')
|
os.system('sed -i "s/dspam=no/dspam=yes/" /etc/yunohost/yunohost.conf')
|
||||||
|
|
Loading…
Reference in a new issue