strider icon indicating copy to clipboard operation
strider copied to clipboard

Running strider as a background process

Open mark-norgate opened this issue 9 years ago • 2 comments

You must excuse my terminology in this issue: Ubuntu and Unix are quite alien to me at the moment.

I am trying to set up Strider on an AWS Ubuntu instance. I have installed everything and have come to the point where I am running Strider with npm start.

However, this takes over the terminal window (sic) and I am no longer able to issue any commands in the shell. How do I run Strider in the background (sic) or as a service so that I can continue to use the shell. And will Strider end when I close the terminal window??

mark-norgate avatar May 25 '16 18:05 mark-norgate

You can use forever or pm2 or run it through the crontab of another user.

sudo npm install --global pm2
sudo adduser --disabled-login strider
sudo -u strider crontab -e

Then tell it to start strider:

@reboot /usr/bin/pm2 start /opt/strider/bin/strider

Something like that anyway.

oliversalzburg avatar May 25 '16 18:05 oliversalzburg

I use upstart to run it in Ubuntu.

knownasilya avatar May 25 '16 19:05 knownasilya