[{ALLOW view All}]
[{ALLOW edit Authenticated}]
!Set up process to start during boot
[Debian Help1|http://debiananwenderhandbuch.de/init.html] |
[Debian Help2|http://www.debuntu.org/how-to-manage-services-with-update-rc.d]
For a template see file jboss.
{{{
root@hostname:/etc/init.d# update-rc.d jboss defaults
update-rc.d: warning: /etc/init.d/jboss missing LSB information
update-rc.d: see <http://wiki.debian.org/LSBInitScripts>
Adding system startup for /etc/init.d/jboss ...
/etc/rc0.d/K20jboss -> ../init.d/jboss
/etc/rc1.d/K20jboss -> ../init.d/jboss
/etc/rc6.d/K20jboss -> ../init.d/jboss
/etc/rc2.d/S20jboss -> ../init.d/jboss
/etc/rc3.d/S20jboss -> ../init.d/jboss
/etc/rc4.d/S20jboss -> ../init.d/jboss
/etc/rc5.d/S20jboss -> ../init.d/jboss
}}}
For jboss use custom late priority (!):
{{{
update-rc.d jboss defaults 91
}}}
Remove
{{{
update-rc.d -f jboss remove
}}}
There is no "Show/List" option, but you can simulate with option -n like
{{{
> update-rc.d -n postfix defaults
System start/stop links for /etc/init.d/postfix already exist.
}}}