Skip to content

Server startup scripts (experimental)

Benjamin Christensen edited this page Dec 4, 2013 · 2 revisions

Configuring Upstart and Forever scripts

By setting up an upstart script on your Ubuntu installation, the chat app can be started and stopped with the Forever functionality from the Opeka module.

It takes a bit of tweaking, though...

  1. Make sure the Forever node module is installed globally
  2. The the cfdpchat-app.example.conf script (located in the Drupal Opeka modules script folder) must be updated with the right paths
  3. Rename the script to cfdpchat-app.conf and place it in the /etc/init folder with the proper permissions (root:root 644)
  4. Make the script sudoable by www-data (this method might not work if you don't have full root access to the server).
  5. Restart Apache

Clone this wiki locally