Simplify service file, no longer require permissions on /run/vpp, and set optimal perms on agentx
This commit is contained in:
5
debian/postinst
vendored
5
debian/postinst
vendored
@ -4,11 +4,6 @@ set -e
|
||||
|
||||
case "$1" in
|
||||
configure)
|
||||
# Create agentx directories
|
||||
mkdir -p /var/agentx/master
|
||||
chown Debian-snmp:vpp /var/agentx /var/agentx/master
|
||||
chmod 770 /var/agentx /var/agentx/master
|
||||
|
||||
# Enable and start the service
|
||||
systemctl daemon-reload
|
||||
systemctl enable govpp-snmp-agentx.service
|
||||
|
Reference in New Issue
Block a user