Dircproxy package does not have a gentoo-style /etc/init.d script. Here is one. Reproducible: Always Steps to Reproduce: 1. /etc/init.d dircproxy start 2. 3.
#!/sbin/runscript # PIDFILE=/var/run/dircproxy/dircproxy.pid depend() { need net use dns } start() { ebegin "Starting dircproxy" start-stop-daemon --start --pidfile "$PIDFILE" -c "$DIRCUSER:$DIRCGROUP" --exec /usr/bin/dircproxy \ -- -f /etc/dircproxy.conf -P "$PORT" --pid-file="$PIDFILE" eend } stop() { ebegin "Stopping dircproxy" start-stop-daemon --stop --pidfile "$PIDFILE" --exec /usr/bin/dircproxy eend $? } restart() { svc_stop svc_start }
Might also need the /etc/conf.d: PORT="194" DIRCUSER="irc" DIRCGROUP="irc"
removing.