Properly enabling and restarting snmpd

-SNMPd doesn't automatically start without this patch
-tested on F20

Change-Id: I4831fd870ace7d4e37b43b82ab7b95a8e5e9b84a
This commit is contained in:
Ladislav Smola 2014-05-27 10:44:23 +02:00
parent 45ff3c1a87
commit 69e8692a44
2 changed files with 9 additions and 0 deletions

View File

@ -1 +1,3 @@
os-apply-config
os-refresh-config
os-svc-install

View File

@ -0,0 +1,7 @@
#!/bin/bash
set -eux
set -o pipefail
os-svc-enable -n snmpd
os-svc-restart -n snmpd