I think it would be nice to modify the service file to run as non-root:

[Service]
...
User=vnstat
CapabilityBoundingSet=

Untested.

Also it would be required to change the ownership of files in
/var/lib/vnstat, but this should be done by the install script.



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to