debian and startup scripts

Discussion in 'Server Operation' started by unkn0wn, Aug 14, 2006.

  1. unkn0wn

    unkn0wn New Member

    I want to run my pureftp servr with my switches every time
    i reboot my machine how can i do that?
  2. Ben

    Ben ISPConfig Developer ISPConfig Developer

    you find all startupscript in rc[runlevel].d/
    mostly they reference to the init script in init.d but you can e.g. write a minmal shellscript on that you reference from rc[runlevel].d which calls the init script with your "switches".
    The standard runlevel is 3 (no x stuff)
  3. ManWithNoName

    ManWithNoName New Member

    What you need is update-rc.d (install and remove System-V style init script links) command.
    Using man you will see very usefull examples :p
  4. falko

    falko Super Moderator ISPConfig Developer

    update-rc.d [I]name_of_init_script[/I] defaults
    will do. :)

Share This Page