diff options
author | Thomas Mangin <thomas.mangin@exa.net.uk> | 2020-05-19 21:13:40 +0100 |
---|---|---|
committer | Thomas Mangin <thomas.mangin@exa.net.uk> | 2020-05-19 21:13:40 +0100 |
commit | 43dd945c5a45c86c491892f30546d0179751bf4a (patch) | |
tree | 9e30f8270347717726dc137b61b5034d90f05072 /src/conf_mode/https.py | |
parent | 3458a8b50853ecd032ebc3ee87f00452ac73ebcd (diff) | |
download | vyos-1x-43dd945c5a45c86c491892f30546d0179751bf4a.tar.gz vyos-1x-43dd945c5a45c86c491892f30546d0179751bf4a.zip |
util: T2467: add systemctl to autosudo
Diffstat (limited to 'src/conf_mode/https.py')
-rwxr-xr-x | src/conf_mode/https.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/conf_mode/https.py b/src/conf_mode/https.py index 7d3a1b9cb..718e8375c 100755 --- a/src/conf_mode/https.py +++ b/src/conf_mode/https.py @@ -141,9 +141,9 @@ def generate(https): def apply(https): if https is not None: - call('sudo systemctl restart nginx.service') + call('systemctl restart nginx.service') else: - call('sudo systemctl stop nginx.service') + call('systemctl stop nginx.service') if __name__ == '__main__': try: |