summarylogtreecommitdiffstats
path: root/hptwebgui.service
diff options
context:
space:
mode:
Diffstat (limited to 'hptwebgui.service')
-rw-r--r--hptwebgui.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/hptwebgui.service b/hptwebgui.service
new file mode 100644
index 000000000000..39fd49b0a80f
--- /dev/null
+++ b/hptwebgui.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=HighPoint RocketRAID webGUI daemon
+After=network.target
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/hptsvr /etc/hptcfg
+ExecStop=/usr/bin/hptsvr --kill /etc/hptcfg
+Restart=on-failure
+RestartSec=5s
+
+[Install]
+WantedBy=default.target