QLe
May 14, 2020, 11:05pm
1
Sorry, I am not sure how to start the service. When I reboot the server, I have to re-install (./install.sh) everything again in order the web running, so could you give me the command so I can run for start the service automatic when the server reboot. I try the command restart.sh which list below but no chance …
Clover Node.js process
cd ./node
pm2 start index.js --name “Clover”
Only if you are using Acacia from install.sh
cd …/acacia
pm2 start index.js --name “Acacia”
TURN server
TURN_USERNAME=“turn-user”
TURN_PASSWORD=“turn-psw”
TURN_PORT=3478
sudo turnserver -n --verbose --lt-cred-mech --user $TURN_USERNAME:$TURN_PASSWORD --realm “clover” --no-dtls --no-tls --listening-port $TURN_PORT --daemon
Honey
May 15, 2020, 7:15am
2
Hello QLe,
You should connect via SSH and CD into the Clover folder on your server. Then you have two options:
execute the following commands one after the other
create a restart.sh file, paste all of the commands, then run the file
The commands are:
cd ./node
pm2 start index.js --name “Clover”
cd …/acacia
pm2 start index.js --name “Acacia”
TURN_USERNAME=“turn-user”
TURN_PASSWORD=“turn-psw”
TURN_PORT=3478
sudo turnserver -n --verbose --lt-cred-mech --user $TURN_USERNAME:$TURN_PASSWORD --realm “clover” --no-dtls --no-tls --listening-port $TURN_PORT --daemon
If you still have trouble please contact us at support@honeyside.it and we will setup automatic reboot for you!
Have a sweet day!