summaryrefslogtreecommitdiff
path: root/templates/service
diff options
context:
space:
mode:
authorKim Hagen <kim.sidney@gmail.com>2017-04-27 16:38:52 +0200
committerKim Hagen <kim.sidney@gmail.com>2017-04-27 16:38:52 +0200
commit5ffc3d04434de0e463393c8e6d624072990c6a7e (patch)
tree3010884c8440263f33c4ed02c9f95896caa16439 /templates/service
parenta280dd5645c88dee051a2d2f3f5da7df2fcf8481 (diff)
downloadvyatta-cfg-system-5ffc3d04434de0e463393c8e6d624072990c6a7e.tar.gz
vyatta-cfg-system-5ffc3d04434de0e463393c8e6d624072990c6a7e.zip
snmpd would not start when V3 was configured
Updated all snmpd daemon commands to systemd type.
Diffstat (limited to 'templates/service')
-rw-r--r--templates/service/snmp/node.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/service/snmp/node.def b/templates/service/snmp/node.def
index 9fb161dc..7c8c372b 100644
--- a/templates/service/snmp/node.def
+++ b/templates/service/snmp/node.def
@@ -22,6 +22,6 @@ end:if [ -f "/tmp/snmp.$PPID" ]
then
sudo /opt/vyatta/sbin/vyatta-snmp-v3.pl --update-snmp;
else
- sudo invoke-rc.d snmpd start > /dev/null 2>&1;
+ sudo systemctl start snmpd.service > /dev/null 2>&1;
fi
fi