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/op_mode/flow_accounting_op.py | |
parent | 3458a8b50853ecd032ebc3ee87f00452ac73ebcd (diff) | |
download | vyos-1x-43dd945c5a45c86c491892f30546d0179751bf4a.tar.gz vyos-1x-43dd945c5a45c86c491892f30546d0179751bf4a.zip |
util: T2467: add systemctl to autosudo
Diffstat (limited to 'src/op_mode/flow_accounting_op.py')
-rwxr-xr-x | src/op_mode/flow_accounting_op.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/op_mode/flow_accounting_op.py b/src/op_mode/flow_accounting_op.py index 219ad6316..bf8c39fd6 100755 --- a/src/op_mode/flow_accounting_op.py +++ b/src/op_mode/flow_accounting_op.py @@ -195,7 +195,7 @@ if not _uacctd_running(): # restart pmacct daemon if cmd_args.action == 'restart': # run command to restart flow-accounting - cmd('sudo systemctl restart uacctd.service', + cmd('systemctl restart uacctd.service', message='Failed to restart flow-accounting') # clear in-memory collected flows |