Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: laurie_lewis on April 30, 2005, 10:30:54 AM
-
I have been putting a script file in /etc/rc7.d to autostart twonkyvision mediaserver on boot.
I am unable to determine why but it keeps on disappearing - I can see no pattern as to why this is happening either.
I have not used chkconfig to add it as it will not let me put it in level 7.
Any help appreciated.
Laurie Lewis
-
Perhaps this excerpt from DG howto may steer you in the right direction:
Enabling the Dansguardian service at startup
You need the following entry in the sme configuration database /home/e-smith/configuration
dansguardian=service|InitscriptOrder|92|status|enabled
To add this do
/sbin/e-smith/config set dansguardian service Initscriptorder 92 status enabled
You will also need to add a link in /etc/rc7.d
To add this do
ln -s /etc/rc.d/init.d/e-smith-service /etc/rc.d/rc7.d/S92dansguardian
-
Thanks Ray,
Will try it with a reinstall of 6.5rc1
I see that your name comes up a lot with Dansguardian. I am having a few problems but will post again with questions
Laurie
-
Laurie,
You would normally only put a symlink in rc7.d not the actual script, most scripts would reside in init.d. as you can see from Ray's example of dansguardian.
Check that the start script for twonkyvision is init.d and then do as Ray has shown, replacing dansguardian with the name of the startup script for twonkyvision. The number 92 only determines the load order of links in rc.d the highest being the last to load.
Regards
Jack
-
thank you my friends,
works a treat.
laurie