summarylogtreecommitdiffstats
path: root/phc-intel.systemd
blob: 5267c4b88cc308267dc7cdb84a84828ebefcb48b (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=multi-user.target