-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to restart service? #81
Comments
You can use the start and stop service commands, the nodejs files can be changed any number of times since everytime service starts it uses the latest script file found in the same location. |
is it |
when you install the service you will get exact commands in console that time, usually it would be sudo service servicename start / stop |
Sorry I tried some times, but unfortunatly, it did't work, totally because my zero knowledge about linux, could you please teach me step by step? my service name: mynode. How I can stop and start again service to run newest nodejs file? |
@ngohuunam , you can use following commands for your case. |
@jm93 forever service is primarily designed to provision service for a given platform. The commands to control service are specific to a platform and not generic. When you provision a service using forever-service these commands are clearly displayed. |
thanks for getting back so I tried: and looks like it worked, I can get it from sudo forever list. I'll delete my last comment if I can |
Hi, i'm deploying the rocket chat application and want to use secondary MongoDB to read. |
What is not working exactly? Please provide exact command you are using to provision forever-service. And exact details and relevant logs related to the error.
…________________________________
From: vikas <[email protected]>
Sent: Saturday, October 7, 2017 10:24:09 PM
To: zapty/forever-service
Cc: Arvind Agarwal; Comment
Subject: Re: [zapty/forever-service] How to restart service? (#81)
Hi, i'm deploying the rocket chat application and want to use secondary MongoDB to read.
while setting the MONGOURL in the forever service
export MONGO_URL=mongodb://10.xx.xx.xxx:27017,10.xx.xx.xxx:27017/Chat?replicaSet=rs1&readPreference=nearest
not working for me..help needed
This is a Meteor.js application.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub<#81 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AIDgWxIAHJhqYIe-VsGnydzJZWy5kZSjks5sp6yxgaJpZM4KkDM7>.
|
How to stop and start nodejs.js file again, in case of modify nodejs.js file?
Thks
The text was updated successfully, but these errors were encountered: