Created
February 11, 2018 17:05
-
-
Save kylemanna/2f458c3b3ecb874dfe1d185806511cb8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=AMD Radeon Config | |
Before=claymore.service | |
[Service] | |
Type=oneshot | |
ExecStart=/bin/sh -c 'for i in 3 4 5 6; do /home/miner/amd/ohgodatool/ohgodatool -i $i --set-fanspeed 50 --mem-state 2 --mem-clock 1980 --core-state 7 --core-clock 1200; done' | |
[Install] | |
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=Claymore Miner | |
Documentation=https://bitcointalk.org/index.php?topic=1433925.0 | |
Wants=amd-config.service | |
After=amd-config.service | |
[Service] | |
User=miner | |
Type=simple | |
ExecStart=/home/miner/bin/claymore.sh | |
Restart=always | |
RestartSec=3 | |
[Install] | |
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=NiceHash Excavator Miner | |
Documentation=https://github.com/nicehash/excavator | |
Wants=nvidia-config.service | |
After=nvidia-config.service | |
[Service] | |
User=miner | |
Type=simple | |
ExecStart=/home/miner/bin/excavator.sh | |
Restart=always | |
RestartSec=3 | |
[Install] | |
WantedBy=multi-user.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Unit] | |
Description=NVIDIA Config | |
Before=excavator.service | |
After=lightdm.service | |
Requires=lightdm.service | |
[Service] | |
Type=oneshot | |
Environment=DISPLAY=:0 | |
Environment=XAUTHORITY=/var/run/lightdm/root/:0 | |
ExecStart=/usr/bin/nvidia-smi -pm 1 | |
ExecStart=/usr/bin/nvidia-smi -pl 150 | |
ExecStart=/bin/sh -c 'for i in 0 1 2; do nvidia-settings -a [gpu:$i]/GPUFanControlState=1 -a [fan:$i]/GPUTargetFanSpeed=75; done' | |
[Install] | |
WantedBy=multi-user.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment