Rev 1697 | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | SVN | RSS feed
| Rev 1697 | Rev 1698 | ||
|---|---|---|---|
| 1 | # Atom upstart script |
1 | # Atom upstart script |
| 2 | # Inspired by: |
2 | # Inspired by: |
| 3 | # http://geeknme.wordpress.com/2009/10/15/getting-started-with-upstart-in-ubuntu/ |
3 | # http://geeknme.wordpress.com/2009/10/15/getting-started-with-upstart-in-ubuntu/ |
| 4 | 4 | ||
| 5 | # Optional stuff: |
5 | # Optional stuff: |
| 6 | description "Start and stop the Atom CAN service" |
6 | description "Start and stop the Atom CAN service" |
| 7 | version "1.0" |
7 | version "1.0" |
| 8 | author "Björn Ramberg" |
8 | author "Björn Ramberg" |
| 9 | 9 | ||
| 10 | # tell upstart we're creating a daemon |
10 | # tell upstart we're creating a daemon |
| 11 | # upstart manages PID creation for you. |
11 | # upstart manages PID creation for you. |
| 12 | expect fork |
12 | expect fork |
| 13 | 13 | ||
| 14 | exec atomd -d |
14 | exec atomd -d |
| 15 | 15 | ||