So im tryin to make a switch the lets me turn on and off a mining progrom on another pc.
heres my config.yaml
- platform: command_line
host: 192.168.1.x
name: ‘miner’
username: user
password: password
switches:
miner:
command_on: sudo /home/user/RainbowMiner/ ./start-nohup.sh
command_off: sudo /home/user/RainbowMiner/ ./stop.sh
no to sure what i am doing wrong