By Danx
So I have a remotely hosted, dedicated server i’m setting up to run a cryptocurrency mining pool. That part doesn’t matter. I can SSH to a command prompt and run each of the programs I need in separate remote windows and everything works fine, but when I close them or shut off my home computer they stop running.
I’ve tried creating services, but just get errors. I read something about rc.local, but not sure how to set that up either. After days of getting everything configured and working, I get stumped by something that should be simple. I’m a bit new to Ubuntu so getting the paths and syntax right are probably my issue.
2 of the applications I can run from anywhere, so i’m not sure the exact path or if I even need that, the 3rd is a long drawn out path with an even longer set of arguments that go after it.
Any help would be appreciated.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Hi @Danx
Have a look at tmux - that would work for anything, since I don’t know what type of code you’re trying to run.
Not exactly what I’m looking for. Like I said, I have a server that is not located near me. I need to have it run some applications when it starts up and leave them running without me having to remotely connect to the server and start them and leave my computer running.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.