Skip to content

Commit

Permalink
Merge pull request #2 from jonas-koeritz/master
Browse files Browse the repository at this point in the history
Added LSB Tags
  • Loading branch information
92bondstreet committed May 2, 2014
2 parents 0c7f5fb + bcd735b commit 11bf01c
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion lib/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@

var daemonTemplate = [
'#!/bin/bash'
, '### BEGIN INIT INFO'
, '# Provides: {{app}}'
, '# Required-Start: $remote_fs $syslog'
, '# Required-Stop: $remote_fs $syslog'
, '# Default-Start: 2 3 4 5'
, '# Default-Stop: 0 1 6'
, '# Short-Description: forever running {{app}}'
, '# Description: {{app}}'
, '### END INIT INFO'
, '#'
, '# initd a node app'
, '# Based on a script posted by https://gist.github.com/jinze at https://gist.github.com/3748766'
Expand Down Expand Up @@ -261,4 +270,4 @@
module.exports = new Daemon();

}
)();
)();

0 comments on commit 11bf01c

Please sign in to comment.