summarylogtreecommitdiffstats
path: root/phc-intel.systemd
blob: ce322dcb402eca5edf97415dbb4f617015c947c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# phc-intel init script for systemd.

[Unit]
Description=Intel CPU undervolting

[Service]
Type=oneshot
RemainAfterExit=yes
User=root
ExecStart=/usr/bin/phc-intel start
ExecStop=/usr/bin/phc-intel stop
ExecReload=/usr/bin/phc-intel stop; /usr/bin/phc-intel start
ExecStatus=/usr/bin/phc-intel status

[Install]
WantedBy=sysinit.target