Page 1 of 1

[solved] Autostart on Debian Squeeze ?

Posted: Mon Jul 02, 2012 9:49 am
by fred9176
Hello,

I'm trying to setup WingFTP on a Debian Squeeze 64bits.

Everything is working fine, I can manually start the server with /etc/init.d/wftpserver start.

But I would like that the ftp server starts automatically with the server (as Apache or vsftp do for example).

I checked the corresponding boxes in sysv-rc-conf, the symlinks are created in /etc/rcX.d but the server doesn't start at boot. I don't have any trace in /var/log/boot of a potiential error when trying to start the service.

Do you have any idea on how to correct this ?

Thank you,

Fred

Re: Autostart on Debian Squeeze ?

Posted: Mon Jul 02, 2012 4:41 pm
by FTP
I think this error is within the INSSERV script, you can check out this article: http://wiki.debian.org/LSBInitScripts/D ... yBasedBoot" rel="nofollow

And maybe you can remove INSSERV to solve this issue:

Code: Select all

sudo apt-get remove insserv

Re: Autostart on Debian Squeeze ?

Posted: Tue Jul 03, 2012 8:22 am
by fred9176
I finally managed to correct my problem adding LSB fields to the init script. I just copiyed the one from apache.