Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Debian This forum is for the discussion of Debian Linux.


  Search this Thread
Old 03-23-2007, 12:46 PM   #1
Registered: Jan 2007
Distribution: Debian
Posts: 217

Rep: Reputation: 30
Getting PureFTPd to startup auto

Hi all, ive been trying to figure out how to get PureFTPd to startup when the machine is ever rebooted with out having to do it manually. I put it in the init.d file but it never starts on its own when i reboot the machine. Any suggestions?
Old 03-23-2007, 12:56 PM   #2
Senior Member
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
cd /etc/rc2.d
ln -s ../init.d/pureftpd S50pureftpd
Old 03-23-2007, 04:48 PM   #3
Registered: Nov 2005
Location: Houston Texas
Distribution: Debian Sid
Posts: 379

Rep: Reputation: 31
If you installed from apt it should have setup the init scripts automatically.
Old 03-24-2007, 03:17 AM   #4
Registered: Jul 2006
Distribution: Debian Testing
Posts: 299

Rep: Reputation: 30
nx5000, won't you need to put in a symlink to shut it down too?
Old 03-24-2007, 06:39 AM   #5
Senior Member
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
Oops right
RC6 is the one called upon reboot so you need at least this one.
cd /etc/rc6.d/
ln -s ../init.d/pureftpd K50pureftpd
If you want that when you switch from runlevel 2 (default when booting) to runlevel 3 pureftp is stoped you would put the same 'K line' in /etc/rc3.d.
Old 03-24-2007, 09:07 AM   #6
Senior Member
Registered: Dec 2004
Location: Helsinki
Distribution: Debian Sid
Posts: 1,107

Rep: Reputation: 54
Wouldn't it soon be easier with:
update-rc.d pureftpd start 50 2 3 4 5 . stop 50 0 1 6 .
Adjust the runlevels if you want.
Old 03-24-2007, 09:08 AM   #7
Senior Member
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
Yes that's cleaner.
Thanks for correcting.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto Startup alexwijn Linux - General 2 06-08-2006 09:47 PM
auto load at startup kuliand Linux - Software 2 05-22-2006 06:38 AM
Pureftpd + xinetd: Writes pureftpd commandline to client when connecting bomix Linux - Software 2 03-29-2005 09:21 PM
Auto startup binumvk Linux - Software 5 10-29-2004 05:15 AM
Auto startup ndiswrapper VenimK Linux - Wireless Networking 1 02-29-2004 05:15 PM > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:27 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration