Changes

Jump to navigation Jump to search
873 bytes added ,  21:26, 9 April 2014
Line 647: Line 647:     
  sv t /service/httpd-e-smith
 
  sv t /service/httpd-e-smith
 +
 +
===allow a service to start for a particular time===
 +
 +
in this way SME's knows how to/if start the service at startup
 +
 +
config set myapplicationname service status enabled
 +
 +
cd /etc/rc.d/init.d
 +
ln -s /path/to/myinitscript myapplicationname
 +
 +
'''We are creating a symlink of the original startup script with a new name (the point is that myapplicationname must be identical to the service name above)'''
 +
 +
cd /etc/rc7.d
 +
ln -s  /etc/rc.d/init.d/e-smith-service SXXmyapplicationname
 +
 +
we create a symlink to e-smith-service startup script with a name where: S tells SME to start XX are numbers
 +
 +
you can decide when to start the service myapplicationname, but you should not start something that need the network before the network itself is up and running
 +
Therefore you can see the content of /etc/rc7.d and see which scripts are needed to execute the your new startup script
    
==Squid Cache==
 
==Squid Cache==

Navigation menu