Page 1 of 1

server startup

Posted: Tue Nov 09, 2021 3:58 am
by oriebirj
Anyone can advise the best way to start the server on a linux machine?
Because from terminal window stays open.

I would rather run it on the background.

Already tried creating a script to call from cron but for some reason data doesnt flow the same way. Basically doesnt get recorded and i cant get why.

#!/bin/bash

cd /root/teleserver/

nohup ./teleserver -l /root/teleserver/logs &

Any help welcome