Skip to content

Commit

Permalink
Hopefully improve service file for autostart
Browse files Browse the repository at this point in the history
  • Loading branch information
nan0s7 committed Sep 11, 2020
1 parent 8c5cf4c commit a18602b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions nfancurve.service
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
[Unit]
Description=Nfancurve service
After=graphical-session.target
Requires=graphical-session.target
After=default.target

This comment has been minimized.

Copy link
@ReneHollander

ReneHollander Aug 4, 2022

Contributor

Why was this changed? I interpret https://www.freedesktop.org/software/systemd/man/systemd.special.html#graphical-session.target as follows: The nfancurve daemon requires a running X session, and as such should be started after graphical-session.target is reached and installed by graphical-session.target.

This comment has been minimized.

Copy link
@ReneHollander

ReneHollander Aug 4, 2022

Contributor

Found #33, lets move discussion there.


[Service]
ExecStart=/bin/sh /usr/bin/nfancurve -c /etc/nfancurve.conf
KillSignal=SIGINT

[Install]
WantedBy=graphical-session.target
WantedBy=default.target

0 comments on commit a18602b

Please sign in to comment.