summaryrefslogtreecommitdiff
path: root/debian/systemd
diff options
context:
space:
mode:
Diffstat (limited to 'debian/systemd')
-rw-r--r--debian/systemd/ipmitool.conf7
-rw-r--r--debian/systemd/ipmitool.ipmievd.service11
2 files changed, 18 insertions, 0 deletions
diff --git a/debian/systemd/ipmitool.conf b/debian/systemd/ipmitool.conf
new file mode 100644
index 0000000..cdfba64
--- /dev/null
+++ b/debian/systemd/ipmitool.conf
@@ -0,0 +1,7 @@
+# systemd kernelmodules for ipmitools
+#
+ipmi_devintf
+ipmi_msghandler
+ipmi_poweroff
+ipmi_si
+ipmi_watchdog
diff --git a/debian/systemd/ipmitool.ipmievd.service b/debian/systemd/ipmitool.ipmievd.service
new file mode 100644
index 0000000..e7a8528
--- /dev/null
+++ b/debian/systemd/ipmitool.ipmievd.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=IPMI event daemon
+
+[Service]
+Type=forking
+EnvironmentFile=-/etc/default/ipmievd
+ExecStart=/usr/sbin/ipmievd $IPMIEVD_OPTIONS
+
+[Install]
+WantedBy=multi-user.target
+Alias=ipmi.service