amdgpu-clocks systemd service

This commit is contained in:
Thibault Heckel 2022-11-10 23:33:39 +01:00
parent f2f6da2e6e
commit 3da82e7c99

14
amdgpu-clocks.service Normal file
View File

@ -0,0 +1,14 @@
[Unit]
Description=Set custom amdgpu clocks & voltages
After=multi-user.target rc-local.service systemd-user-sessions.service
Wants=modprobe@amdgpu.service
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/local/bin/amdgpu-clocks
ExecStop=/usr/local/bin/amdgpu-clocks restore
ExecReload=/usr/local/bin/amdgpu-clocks
[Install]
WantedBy=multi-user.target