summaryrefslogtreecommitdiff
path: root/contrib/bmc-snmp-proxy.service
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2014-07-23 15:03:00 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2014-07-23 15:03:00 +0200
commitb32d92e890caac903491116e9d817aa780c0323b (patch)
tree5a135c37eaa9ac94772819a28ce5beedd18e5c4a /contrib/bmc-snmp-proxy.service
parentc3445516ecd58e97de483cf4b7fafcc1104890d7 (diff)
Imported Upstream version 1.8.14upstream/1.8.14
Diffstat (limited to 'contrib/bmc-snmp-proxy.service')
-rw-r--r--contrib/bmc-snmp-proxy.service18
1 files changed, 18 insertions, 0 deletions
diff --git a/contrib/bmc-snmp-proxy.service b/contrib/bmc-snmp-proxy.service
new file mode 100644
index 0000000..247137a
--- /dev/null
+++ b/contrib/bmc-snmp-proxy.service
@@ -0,0 +1,18 @@
+[Unit]
+Description=Setup SNMP proxy to BMC
+
+After=exchange-bmc-os-info.service
+Requires=exchange-bmc-os-info.service
+PartOf=exchange-bmc-os-info.service
+
+ConditionPathExists=/var/run/bmc-info
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+
+ExecStart=/usr/libexec/bmc-snmp-proxy start
+ExecStop=/usr/libexec/bmc-snmp-proxy stop
+
+[Install]
+WantedBy=multi-user.target