summaryrefslogtreecommitdiff
path: root/scripts/ipmi_port.service
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/ipmi_port.service')
-rw-r--r--scripts/ipmi_port.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/scripts/ipmi_port.service b/scripts/ipmi_port.service
new file mode 100644
index 0000000..d09b37c
--- /dev/null
+++ b/scripts/ipmi_port.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=ipmiutil ipmi_port service
+After=network.target
+
+[Service]
+Type=forking
+PIDFile=/run/ipmi_port.pid
+EnvironmentFile=/usr/share/ipmiutil/ipmiutil.env
+ExecStartPre=/usr/share/ipmiutil/ipmiutil.setup
+ExecStart=/usr/sbin/ipmi_port -b
+
+[Install]
+WantedBy=multi-user.target
+
+