diff options
author | Daniil Baturin <daniil@vyos.io> | 2020-05-16 11:55:10 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-16 11:55:10 +0700 |
commit | 02ee6b7bf1bcb0a6d55b3d02496d2f501e622ea2 (patch) | |
tree | fd57b3747ef134538a2c3f602139ec831e9f7fc2 /src | |
parent | e5edc073c297446833764107485a3183e2957b6a (diff) | |
parent | 939eefc2f5c72c8a162d495a233cffd025519ab0 (diff) | |
download | vyos-1x-02ee6b7bf1bcb0a6d55b3d02496d2f501e622ea2.tar.gz vyos-1x-02ee6b7bf1bcb0a6d55b3d02496d2f501e622ea2.zip |
Merge pull request #410 from kroy-the-rabbit/patch-3
T2467: Restarting of service needs a 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 |