From 5ffc3d04434de0e463393c8e6d624072990c6a7e Mon Sep 17 00:00:00 2001 From: Kim Hagen Date: Thu, 27 Apr 2017 16:38:52 +0200 Subject: snmpd would not start when V3 was configured Updated all snmpd daemon commands to systemd type. --- templates/service/snmp/node.def | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'templates/service/snmp') 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 -- cgit v1.2.3