I have a set of startup scripts written for Mac OS X Tiger as launchd-scripts. I need to migrate them to a Debian ("squeeze") server. If I understand correctly then for Debian I would have to rewrite the scripts as init.d-scripts (that make use of start-stop-daemon). Are there any guidelines how such a migration can be done in a clean way?
The scripts are simple: each starts a program (at boot time) and stores its output and error streams into files. The programs do not fork on their own.