services: Add time override to greenclip, redshift

Both greenclip and redshift did not automatically start on system start,
since they needed X to be running but their restart was almost
instantaneously. So, they restarted their alloted 5 times before X was
ready and gave up.

Restart time has been set to 5 and 10 seconds, so their startup takes a
little longer but should, in most cases, succeed.
This commit is contained in:
Marty Oehme 2020-07-24 08:49:15 +02:00
parent 8a5b45f41f
commit 51178df4a3
No known key found for this signature in database
GPG key ID: 0CCB0526EFB9611A
5 changed files with 6 additions and 4 deletions

View file

@ -0,0 +1 @@
/usr/lib/systemd/user/greenclip.service

View file

@ -0,0 +1 @@
/usr/lib/systemd/user/redshift.service

View file

@ -0,0 +1,2 @@
[Service]
RestartSec=5

View file

@ -0,0 +1,2 @@
[Service]
RestartSec=10