[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: Packaging questions



> 1. Usually a daemon makes itself into a child of `init' by forking twice
>    and letting itself be adopted. The Tcl server doesn't do this (it can
>    offer a command prompt and/or Tk-based GUI so one can debug it or
>    include patches, and Tcl doesn't have `fork' anyway). I have an init
>    script that starts the server by interposing a shell script, but this
>    makes it difficult to stop the server using `start-stop-daemon', 
>    since `start-stop-daemon' doesn't seem to find the correct process to
>    kill.

Would having it run under inetd be a better solution all around?  If not a kill
script should be easy enough to write if it uses a pid file.


Reply to: