Skip to content

How do I auto start the script on detached mode on reboot? #526

Answered by ColinShark
SRoy89 asked this question in Q&A
Discussion options

You must be logged in to vote

You could set up a cronjob like so:
@reboot python /home/pi/Twitch-Channel-Points-Miner-v2/run.py
Keep in mind that this is non-standard and may or may not work.

Alternatively you could use something like systemd or supervisord to have it auto-start. The former should be pre-installed but requires sudo, the latter can be run by any user.

Also regarding your email verification; you probably want to log in interactively first instead of extracting and copying your cookie. That way your miner can stay logged in in case you switch sessions on your desktop browser.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@SRoy89
Comment options

@ColinShark
Comment options

@SRoy89
Comment options

Answer selected by SRoy89
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants