Navigate to the directory where rails app are located.
Replace (service name) including bracket with your service name .
Here is the command:
Install service:
mongrel_rails service::install -N (service name) -e (environment. e.g. production) -p (port to be used)
Remove the service:
mongrel_rails service::remove -N (service name)
That's all. Then you can configure lightttpd to point to the mongrel web app.
To start the service from command line:
net start (service name)
No comments:
Post a Comment