diff options
author | kroy-the-rabbit <kroy@kroy.io> | 2020-05-15 23:50:15 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-15 23:50:15 -0500 |
commit | 939eefc2f5c72c8a162d495a233cffd025519ab0 (patch) | |
tree | fd57b3747ef134538a2c3f602139ec831e9f7fc2 /src | |
parent | e5edc073c297446833764107485a3183e2957b6a (diff) | |
download | vyos-1x-939eefc2f5c72c8a162d495a233cffd025519ab0.tar.gz vyos-1x-939eefc2f5c72c8a162d495a233cffd025519ab0.zip |
T2467: Restarting of service needs `sudo`
Diffstat (limited to 'src')
-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 bf8c39fd6..219ad6316 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('systemctl restart uacctd.service', + cmd('sudo systemctl restart uacctd.service', message='Failed to restart flow-accounting') # clear in-memory collected flows |