How do I start an init D script?

Julipkq

New member
How do I start an init D script?
Answer
Start the stack automatically on boot
  1. If the stack was installed as the root user, copy the installdir/ctlscript.sh script to the /etc/init. d directory. …
  2. Add or modify the following header lines at the beginning of the /etc/init. …
  3. Add the script to the default runlevels and enable it, following the example below:
 

Tìm kiếm

Back
Top