Auto Starting Services
Your Box will be put to sleep under the conditions explained here. When you open your project, the Box will start and services will start automatically.
Codio currently uses upstart. If you want to configure services to start when your box starts up, you should configure a
.conf file. If you are not familiar with upstart, please Google it for configuration details.
Important - you need to specify the user account under which the service is run using
Below is an example
.conf file that should be located in the
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
# testservice - test service job file description "Some description" author "freddy <email@example.com>" # Stanzas # # Stanzas control when and how a process is started and stopped See a list of stanzas here: # http://upstart.ubuntu.com/wiki/Stanzas When to start the service start on runlevel  stop on runlevel  # Automatically restart process if crashed respawn # Specify the user account which the service should run under testservice - test service job file setuid codio # Specify working directory if needed chdir /home/codio/workspace # Specify the process/command to start, e.g. exec your-service-name