summaryrefslogtreecommitdiffstats
path: root/core/modules/slx-brightness/data/etc/systemd/system
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/slx-brightness/data/etc/systemd/system')
l---------core/modules/slx-brightness/data/etc/systemd/system/multi-user.target.wants/slx-brightness.service1
-rw-r--r--core/modules/slx-brightness/data/etc/systemd/system/slx-brightness.service7
2 files changed, 8 insertions, 0 deletions
diff --git a/core/modules/slx-brightness/data/etc/systemd/system/multi-user.target.wants/slx-brightness.service b/core/modules/slx-brightness/data/etc/systemd/system/multi-user.target.wants/slx-brightness.service
new file mode 120000
index 00000000..6cbe2a91
--- /dev/null
+++ b/core/modules/slx-brightness/data/etc/systemd/system/multi-user.target.wants/slx-brightness.service
@@ -0,0 +1 @@
+../slx-brightness.service \ No newline at end of file
diff --git a/core/modules/slx-brightness/data/etc/systemd/system/slx-brightness.service b/core/modules/slx-brightness/data/etc/systemd/system/slx-brightness.service
new file mode 100644
index 00000000..c75fdaf0
--- /dev/null
+++ b/core/modules/slx-brightness/data/etc/systemd/system/slx-brightness.service
@@ -0,0 +1,7 @@
+[Unit]
+Description=Handle display brightness keys
+
+[Service]
+Type=forking
+ExecStart=/opt/openslx/scripts/systemd-slx_brightness
+Restart=on-failure