DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2009-03-26 14:03:18

xaraz
New member
Registered: 2009-03-19
Posts: 2

init.d scripts not starting automatically on boot

I've got a couple of programs (transmission, sabnzbd, svnserver) that I would like to start automatically at boot time. I've got working scripts in the /etc/init.d directory for all these programs. I've run 'update-rc.d <scriptname> defaults' so the links for all runlevels were made, but they still don't start at boot time.
The scripts have all been chmod-ed to 755 and are working if I start them by hand.

I'm running chroot Debian Lenny.

Does anyone have any suggestions on were to look next?

Offline

 

#2 2009-03-26 19:20:06

toolbox
Member
Registered: 2008-12-18
Posts: 83

Re: init.d scripts not starting automatically on boot

I start each scipt from /boot/linuxrc. As a newbie, I have no idea if this is the "proper" way or not.

Offline

 

#3 2009-03-30 00:54:04

dkl
Member
From: Toulouse
Registered: 2007-06-16
Posts: 104

Re: init.d scripts not starting automatically on boot

If you run a chrooted debian, you should have a "linuxrc" script to start any script. "rc" start won't work in chrooted environment anyway. You should start your programs with linuxrc.

Offline

 

#4 2009-03-30 10:45:06

xaraz
New member
Registered: 2009-03-19
Posts: 2

Re: init.d scripts not starting automatically on boot

Thanks, that worked perfectly.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB