diff options
author | James An | 2015-07-10 22:25:32 -0400 |
---|---|---|
committer | James An | 2015-07-10 22:25:32 -0400 |
commit | 88951dcbb8659c3cce4bf7de97067d26c6e20e4b (patch) | |
tree | 662a8cb2f15581bf79eeb8579ad3f2dc3038a128 /macfanctld.service | |
parent | c739752aad82da09315774cf1d066cd5e900f975 (diff) | |
download | aur-88951dcbb8659c3cce4bf7de97067d26c6e20e4b.tar.gz |
Changed the service unit to better survive failures and added an install file to stop the service unit if active on remove and restart the service unit if active prior to an upgrade.
Diffstat (limited to 'macfanctld.service')
-rw-r--r-- | macfanctld.service | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/macfanctld.service b/macfanctld.service index c3743414ee4c..616cbb28923e 100644 --- a/macfanctld.service +++ b/macfanctld.service @@ -3,7 +3,10 @@ Description=Mac Fan Control Daemon Documentation=man:macfanctld(1) [Service] +Type=idle ExecStart=/usr/bin/macfanctld -f +Restart=on-failure +RestartSec=1 [Install] WantedBy=multi-user.target |