File: thinkfan.service.cmake

package info (click to toggle)
thinkfan 2.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 680 kB
  • sloc: cpp: 3,886; ansic: 492; sh: 119; xml: 23; makefile: 19
file content (17 lines) | stat: -rw-r--r-- 424 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[Unit]
Description=thinkfan @THINKFAN_VERSION@
Documentation=man:thinkfan
After=sysinit.target
After=systemd-modules-load.service

[Service]
Type=forking
EnvironmentFile=-/etc/default/thinkfan
ExecStart=@CMAKE_INSTALL_PREFIX@/sbin/thinkfan $THINKFAN_ARGS $DAEMON_ARGS
PIDFile=/run/thinkfan.pid
ExecReload=/bin/kill -HUP $MAINPID

[Install]
WantedBy=multi-user.target
Also=thinkfan-sleep.service
Also=thinkfan-wakeup.service