summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/conf_mode/snmp.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf_mode/snmp.py b/src/conf_mode/snmp.py
index 770d83744..eb0d20654 100755
--- a/src/conf_mode/snmp.py
+++ b/src/conf_mode/snmp.py
@@ -548,7 +548,7 @@ def apply(snmp):
# Reload systemd manager configuration
call('systemctl daemon-reload')
# start SNMP daemon
- call("systemctl start snmpd.service")
+ call("systemctl restart snmpd.service")
while (call('systemctl -q is-active snmpd.service') != 0):
print("service not yet started")