Add mining mode selection (SHA256/Scrypt) via GUI
This commit is contained in:
@@ -122,8 +122,8 @@ After=network.target necrohash-gui.service
|
||||
[Service]
|
||||
User=$USER
|
||||
WorkingDirectory=$TARGET_DIR
|
||||
# Log stdout/stderr to file for the GUI to read
|
||||
ExecStart=/bin/sh -c 'exec /usr/local/bin/cgminer --gridseed-options freq=850 -c $TARGET_DIR/cgminer.conf >> $TARGET_DIR/cgminer.log 2>&1'
|
||||
# Use wrapper script to handle mode switching (scrypt/sha256)
|
||||
ExecStart=$TARGET_DIR/miner_wrapper.sh
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
|
||||
|
||||
Reference in New Issue
Block a user