I’m trying to set up Syncthing on a shared server in which I don’t have root access, via SSH. I can start it up, and it runs fine, but of course, as soon as I close my terminal window or disconnect my session, it shuts down.
There are a lot of helpful scripts on here for Upstart, systemd, init.d, etc., but it looks like all of those require root/sudo access, which I don’t have.
The server is running Gentoo. Is there a way to fork syncthing to the background on launch (I really don’t mind restarting it manually as needed) via SSH?
So, of course as soon as I post this, I keep googling, and find “nohup”, which solves my problem pretty completely. Basically, start syncthing with “nohup /path/to/syncthing”. Problem solved.