Rev | Line | |
---|
[51] | 1 | #!/bin/sh |
---|
| 2 | # kFreeBSD do not accept scripts as interpreters, using #!/bin/sh and sourcing. |
---|
| 3 | if [ true != "$INIT_D_SCRIPT_SOURCED" ] ; then |
---|
| 4 | set "$0" "$@"; INIT_D_SCRIPT_SOURCED=true . /lib/init/init-d-script |
---|
| 5 | fi |
---|
| 6 | ### BEGIN INIT INFO |
---|
| 7 | # Provides: wkhtmltox |
---|
| 8 | # Required-Start: $remote_fs $syslog |
---|
| 9 | # Required-Stop: $remote_fs $syslog |
---|
| 10 | # Default-Start: 2 3 4 5 |
---|
| 11 | # Default-Stop: 0 1 6 |
---|
| 12 | # Short-Description: <Enter a short description of the software> |
---|
| 13 | # Description: <Enter a long description of the software> |
---|
| 14 | # <...> |
---|
| 15 | # <...> |
---|
| 16 | ### END INIT INFO |
---|
| 17 | |
---|
| 18 | # Author: lliurex <m.angel.juan@gmail.com> |
---|
| 19 | |
---|
| 20 | DESC="wkhtmltox" |
---|
| 21 | DAEMON=/usr/bin/wkhtmltox |
---|
| 22 | |
---|
| 23 | # This is an example to start a single forking daemon capable of writing |
---|
| 24 | # a pid file. To get other behaviors, implement do_start(), do_stop() or |
---|
| 25 | # other functions to override the defaults in /lib/init/init-d-script. |
---|
| 26 | # See also init-d-script(5) |
---|
Note: See
TracBrowser
for help on using the repository browser.