From: Leif-Jöran O. <lj...@ex...> - 2010-07-26 22:37:25
|
Den 2010-07-26 23:32, Loren Cahlander skrev: > We should add the option to have the installer create startup/shutdown scripts for linux. > > > The following is the script that is called for starting and stopping eXist. It is passed a parameter start, stop, restart, reload, status, or condrestart: > /etc/init.d/existdb > > The following are symlinks to the above script. These start or stop services defined in the scripts contained in the /etc/rc#.d directories. The S scripts are run during startup, lower through higher run-level. The K scripts are run during shutdown, higher through lower run-level. > > /etc/rc0.d/K98existdb -> ../init.d/existdb > /etc/rc1.d/K98existdb -> ../init.d/existdb > /etc/rc2.d/S98existdb -> ../init.d/existdb > /etc/rc3.d/S98existdb -> ../init.d/existdb > /etc/rc4.d/S98existdb -> ../init.d/existdb > /etc/rc5.d/S98existdb -> ../init.d/existdb > /etc/rc6.d/K98existdb -> ../init.d/existdb > > > I will be developing the /etc/init.d/existdb script for the LEXA stack document. Do you mean by develop not using the wrapper script which provides this functionality already? In that case why and which benefits compared to the wrapper would it add? Or do you by develop mean add the wrapper script setup to the installer? Cheers, Leif-Jöran |