15 lines
363 B
SYSTEMD
15 lines
363 B
SYSTEMD
|
[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
|