I have installed application with several init scripts as for dpkg -L application
shows. For example:
/etc/init/application.conf
/etc/init.d/application
/usr/systemd/applaication.service
But i use just service application start
for start? How determine which script should be used for start application?
As i know on Ubuntu 12.04 use upstart by default so it is /etc/init/application.conf
script but when i do update-rc.d
it create symlink for /etc/rc*.d
dir to /etc/init.d/application
so it use SysV init script instead upstart while upstart is default init in Ubuntu. I am confused.