And thus, `nohup`.
Quite a few of my self hosted things are spawned using `nohup ./foobar &` and happily run for months at a time.
--
Edit: TIL `daemonize`, I have a new go to!
And thus, `nohup`.
Quite a few of my self hosted things are spawned using `nohup ./foobar &` and happily run for months at a time.
--
Edit: TIL `daemonize`, I have a new go to!
To normalize machine specs I will run it in a VM on the cloud.
To normalize system environment I run in docker.
I also like to run on Java for code safety and consistency.
So what I have is a VM (Java) running on a VM (Docker) running a VM, running a VM (cloud compute), running on system D. I don't think it's abstracted enough though so I'm looking to find ways to add more VMs to the equation, so as to ensure consistency. Figure if I add a few more VMs, good luck hacking that!
https://www.freedesktop.org/software/systemd/man/latest/syst...
A random tutorial,
https://medium.com/@benmorel/creating-a-linux-service-with-s...