Reputation: 199
I have a Bash script that creates a private Geth node named "startnode.sh".
I want to be able to run this script on a server and exit that server without any problem.
Upvotes: 0
Views: 43
Reputation: 89
Alternatively, set up a systemd .service file and have it run as a daemon https://wiki.archlinux.org/index.php/Systemd
Upvotes: 0
Reputation: 9127
You are looking for nohup(1).
It is a utility which let's you detach a process from your current terminal session.
Here's a link to a manual of a FreeBSD nohup(1).
Upvotes: 3