summarylogtreecommitdiffstats
path: root/phc-intel.systemd
diff options
context:
space:
mode:
authordreieck2023-02-21 13:14:18 +0100
committerdreieck2023-02-21 13:14:18 +0100
commitf917c448d277fdc0db723c8eab3b31a279ae130d (patch)
treecb009718abaeb3ab3192b6a66f741a2be720183e /phc-intel.systemd
parent483298048c02a1b30aa82733777221b5ef1e726b (diff)
downloadaur-f917c448d277fdc0db723c8eab3b31a279ae130d.tar.gz
Added initscripts for OpenRC, sysvinit, and systemd.
Diffstat (limited to 'phc-intel.systemd')
-rw-r--r--phc-intel.systemd16
1 files changed, 16 insertions, 0 deletions
diff --git a/phc-intel.systemd b/phc-intel.systemd
new file mode 100644
index 000000000000..5267c4b88cc3
--- /dev/null
+++ b/phc-intel.systemd
@@ -0,0 +1,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