Setup permissions on the crontab

This commit is contained in:
Luke Murphy 2020-02-11 15:25:36 +01:00
parent 744cc532ea
commit c65d90ad38
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

1
fabfile.py vendored
View File

@ -33,6 +33,7 @@ def dailycron(c):
# See https://github.com/fabric/fabric/issues/1750
c.put('./cron/voicegardens', remote='./')
c.sudo('mv voicegardens /etc/cron.daily')
c.sudo('chown root:root /etc/cron.daily/voicegardens')
print('New cron in place <3')
@task