aboutsummaryrefslogtreecommitdiffstats
path: root/user/postpone-screensaver.service
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2015-03-31 02:34:10 +0200
committerDavid Runge <dave@sleepmap.de>2015-03-31 02:34:10 +0200
commit6ff01bc289c1c0d93d1bc0049d18cb11f79ca82a (patch)
tree53a8475f44ba8e43d5ac71bcb8c6efe2ecb88664 /user/postpone-screensaver.service
parent4b5408fc05fe2f6988b606ca3e0bfb5ddb3d01f2 (diff)
downloaduenv-6ff01bc289c1c0d93d1bc0049d18cb11f79ca82a.tar.gz
uenv-6ff01bc289c1c0d93d1bc0049d18cb11f79ca82a.tar.bz2
uenv-6ff01bc289c1c0d93d1bc0049d18cb11f79ca82a.tar.xz
uenv-6ff01bc289c1c0d93d1bc0049d18cb11f79ca82a.zip
postpone-screensaver.{service,timer}: Adding first version of service and timer unit.
Diffstat (limited to 'user/postpone-screensaver.service')
-rw-r--r--user/postpone-screensaver.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/user/postpone-screensaver.service b/user/postpone-screensaver.service
new file mode 100644
index 0000000..92211f8
--- /dev/null
+++ b/user/postpone-screensaver.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Dynamic DPMS settings service
+After=graphical.target
+
+[Service]
+Nice=19
+IOSchedulingClass=2
+IOSchedulingPriority=7
+EnvironmentFile=-/etc/conf.d/postpone-screensaver
+EnvironmentFile=-/home/%u/.config/postpone-screensaver
+ExecStart=/usr/lib/systemd/scripts/postpone-screensaver
+