Line 82:
Line 82:
/sbin/e-smith/signal-event remoteaccess-update
/sbin/e-smith/signal-event remoteaccess-update
+
====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 myinitscript myapplicationname
+
+
+
this should be not necessary: 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 (you should not start something that need the network before the network itself is up and running)
+
myapplicationname.. you already know :-)
==== creer un service a la main avec db configuration et lui attribuer des accès. ====
==== creer un service a la main avec db configuration et lui attribuer des accès. ====
db configuration set transmission-daemon service
db configuration set transmission-daemon service
Line 87:
Line 105:
db configuration setprop transmission-daemon status enabled
db configuration setprop transmission-daemon status enabled
db configuration setprop transmission-daemon access public
db configuration setprop transmission-daemon access public
+
==== créer a la main des valeurs db configuration ====
==== créer a la main des valeurs db configuration ====
##set db configuration
##set db configuration