How can I configure a service to run at startup in Ubuntu

  • To start a daemon at startup:

    update-rc.d service_name defaults  
  • To remove:

    update-rc.d -f service_name remove  

defaults => default run levels 2,3,4 and 5

Example:

update-rc.d tomcat7 defaults  






Popular posts from this blog

cognos content store database tables

How to fix: User, group, or role '*' already exists in the current database. (Microsoft SQL Server, Error: 15023)