Skip to content

Instantly share code, notes, and snippets.

View flopezb's full-sized avatar

Francis López flopezb

View GitHub Profile
@flopezb
flopezb / ethminer start-stop-daemon
Created March 26, 2021 22:13 — forked from bmatthewshea/ethminer start-stop-daemon
start-stop-daemon service for ethminer binary
#!/bin/sh
### BEGIN INIT INFO
# Provides: ethminer
# Required-Start: $remote_fs $syslog $network $named
# Required-Stop: $remote_fs $syslog $network $named
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: ethminer start-stop-daemon init script
# Description: This allows you to start/stop ethminer as if it
# were a daemon