summarylogtreecommitdiffstats
path: root/openrgb.service
diff options
context:
space:
mode:
Diffstat (limited to 'openrgb.service')
-rw-r--r--openrgb.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/openrgb.service b/openrgb.service
new file mode 100644
index 000000000000..bb40d4607c83
--- /dev/null
+++ b/openrgb.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Run openrgb server
+After=network.target lm_sensors.service
+
+[Service]
+Type=simple
+RemainAfterExit=yes
+ExecStart=/usr/bin/openrgb --server --startminimized
+ExecStop=/usr/bin/killall openrgb
+Restart=always
+
+[Install]
+WantedBy=multi-user.target
+