The SCRIPT parameter specifies a System V init script, located in /etc/init.d/SCRIPT, or the name of a systemd unit. The existence of a systemd unit of the same name as a script in /etc/init.d will cause the unit to take precedence over the init.d script.
no "/etc/rc.d/init.d" - Unix I think you can use /etc/init.d instead of /etc/rc.d/init.d . If chkconfig is missing in your Ubuntu version there should be a chkconfig package you can install. Install CouchPotato Ubuntu 14.x and Later Aug 01, 2016
Get To Know Linux: The /etc/init.d Directory - gHacks Tech
The SCRIPT parameter specifies a System V init script, located in /etc/init.d/SCRIPT, or the name of a systemd unit. The existence of a systemd unit of the same name as a script in /etc/init.d will cause the unit to take precedence over the init.d script. [other] How to write init.d Script? - Ubuntu Forums
Dec 07, 2006
ubuntu - init.d script not running on startup - Super User Just having the script present in /etc/init.d is not sufficient to have it run at startup.. To add it to your startup, you have to tell Ubuntu about it: sudo update-rc.d css-servers defaults It should then start on next boot, if the script is properly formatted, executable bit set, etc. Packages that you install from apt-get/Software Center run this command or its equivalent for you ubuntu 14.04 /etc/init.d/ vs /etc/init/ start service at The scripts in /etc/init.d/ are scripts that control services. Controlling means that they take care of starting, stopping and similar actions. They are not automatically executed at startup. Instead, you must assign scripts to runlevels, which is done with the update-rc.d command on Debian-based systems (which Ubuntu is).. For example, to add your supervisor service to all default runlevels ubuntu - /etc/rc.d vs /etc/init.d - Unix & Linux Stack Ubuntu uses /etc/init.d to store SysVinit scripts because Ubuntu is based on Debian and that's what Debian uses. Red Hat uses /etc/rc.d/init.d. I forget what Slackware uses. There just isn't a standard location. Ubuntu is in the process of switching from SysVinit to Upstart, which uses configuration files in … How to Enable or Disable Services in Ubuntu Systemd/Upstart