From 4c321af020446b5774bd0fcd45c7bdf3fe084d17 Mon Sep 17 00:00:00 2001 From: Michael Cronenworth Date: Mon, 13 Apr 2020 15:37:30 -0500 Subject: [PATCH] nfancurve.service: Send SIGINT on stop so fan profile is reset The shell script expects to catch a CTRL-C (SIGINT) so that it will turn off the custom fan speed setting and let the VBIOS resume control. The default systemd signal is SIGTERM so the custom fan profile never gets turned off on a systemd stop command. --- nfancurve.service | 1 + 1 file changed, 1 insertion(+) diff --git a/nfancurve.service b/nfancurve.service index b94a7c9..8d78870 100644 --- a/nfancurve.service +++ b/nfancurve.service @@ -5,6 +5,7 @@ Requires=graphical-session.target [Service] ExecStart=/bin/sh /usr/bin/nfancurve -c /etc/nfancurve.conf +KillSignal=SIGINT [Install] WantedBy=graphical-session.target