jonls / redshift

Redshift adjusts the color temperature of your screen according to your surroundings. This may help your eyes hurt less if you are working in front of the screen at night.
http://jonls.dk/redshift
GNU General Public License v3.0
5.87k stars 424 forks source link

Increase restart delay for systemd service #844

Open xeruf opened 2 years ago

xeruf commented 2 years ago

Redshift just crashed for me, presumably because the default RestartSec (100ms) is too short:

Oct 06 11:47:03 pavilion-arch systemd[473]: redshift.service: Scheduled restart job, restart counter is at 5.
Oct 06 11:47:03 pavilion-arch systemd[473]: Stopped Redshift display colour temperature adjustment.
Oct 06 11:47:03 pavilion-arch systemd[473]: redshift.service: Start request repeated too quickly.
Oct 06 11:47:03 pavilion-arch systemd[473]: redshift.service: Failed with result 'exit-code'.
Oct 06 11:47:03 pavilion-arch systemd[473]: Failed to start Redshift display colour temperature adjustment.