I've made a simple init script to start and stop giftd. I imagine that a little more work could be put into it, someone could take a look at the far more robust setup that the mldonkey package does... but this does the basics for now. #!/sbin/runscript # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # $Header: /home/cvsroot/gentoo-x86/net-fs/samba/files/samba-init,v 1.3 2003/02/14 23:00:14 vapier Exp $ depend() { need net } start() { ebegin "Starting giFTd" start-stop-daemon --start --background --exec /usr/bin/giftd result=$? eend $result } stop() { ebegin "Stopping giFTd" start-stop-daemon --stop --quiet --exec /usr/bin/giftd result=$? eend $result } Reproducible: Always Steps to Reproduce:
We'll need to make it more complex, because the initscript you suggested wouldn't work if we setup gift as user, because the service will be started as root and can't find the gift configuration data in root's homedir. I'll check some other voices, concerning a unified way to start p2p applications. Until then U mark this bug as LATER.