diff options
Diffstat (limited to 'src/conf_mode')
-rwxr-xr-x | src/conf_mode/le_cert.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/conf_mode/le_cert.py b/src/conf_mode/le_cert.py index 466347d02..2db31d3fc 100755 --- a/src/conf_mode/le_cert.py +++ b/src/conf_mode/le_cert.py @@ -85,15 +85,15 @@ def generate(cert): # start nginx if not active ret = call('systemctl is-active --quiet nginx.service') if ret: - call('sudo systemctl start nginx.service') + call('systemctl start nginx.service') request_certbot(cert) def apply(cert): if cert is not None: - call('sudo systemctl restart certbot.timer') + call('systemctl restart certbot.timer') else: - call('sudo systemctl stop certbot.timer') + call('systemctl stop certbot.timer') return None for dep in dependencies: |