aboutsummaryrefslogtreecommitdiffstats
path: root/data
diff options
context:
space:
mode:
authorJon Lund Steffensen <jonlst@gmail.com>2014-03-20 17:27:51 +0100
committerJon Lund Steffensen <jonlst@gmail.com>2014-03-20 17:27:51 +0100
commit00bb68332dfda66c2e98708d8c5eae693016a877 (patch)
treeeb24f48c2dd4f1d552c4ca2e3ce44d62de39ac52 /data
parentUpdate fedora spec file for Python3 dependency (diff)
parentAdd systemd user unit file for redshift-gtk (diff)
downloadredshift-ng-00bb68332dfda66c2e98708d8c5eae693016a877.tar.gz
redshift-ng-00bb68332dfda66c2e98708d8c5eae693016a877.tar.bz2
redshift-ng-00bb68332dfda66c2e98708d8c5eae693016a877.tar.xz
Merge branch 'systemd-service'
Add systemd user unit files for redshift and redshift-gtk. Fixes #35, fixes #50.
Diffstat (limited to '')
-rw-r--r--data/systemd/redshift-gtk.service.in11
-rw-r--r--data/systemd/redshift.service.in11
2 files changed, 22 insertions, 0 deletions
diff --git a/data/systemd/redshift-gtk.service.in b/data/systemd/redshift-gtk.service.in
new file mode 100644
index 0000000..4675ccf
--- /dev/null
+++ b/data/systemd/redshift-gtk.service.in
@@ -0,0 +1,11 @@
+[Unit]
+Description=Redshift display colour temperature adjustment (GUI)
+Documentation=http://jonls.dk/redshift/
+After=display-manager.service
+
+[Service]
+ExecStart=@bindir@/redshift-gtk
+Restart=always
+
+[Install]
+WantedBy=default.target
diff --git a/data/systemd/redshift.service.in b/data/systemd/redshift.service.in
new file mode 100644
index 0000000..bc51514
--- /dev/null
+++ b/data/systemd/redshift.service.in
@@ -0,0 +1,11 @@
+[Unit]
+Description=Redshift display colour temperature adjustment
+Documentation=http://jonls.dk/redshift/
+After=display-manager.service
+
+[Service]
+ExecStart=@bindir@/redshift
+Restart=always
+
+[Install]
+WantedBy=default.target