Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 23401 - net-mail/tpop3d needs an init.d file, included. Please add to portage.
Summary: net-mail/tpop3d needs an init.d file, included. Please add to portage.
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-06-24 12:23 UTC by Michael C. Ferguson
Modified: 2003-08-02 21:44 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
New initscript for tpop3d (tpop3d,608 bytes, text/plain)
2003-08-02 13:25 UTC, Bryan Østergaard (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael C. Ferguson 2003-06-24 12:23:10 UTC
tpop3d doesn't have an init.d included. It's pretty trivial to write one, but we
should include one anyway for new users and for convenience sake. Here is the
one I wrote -- it seems to work without any hitches:

--- begin /etc/init.d/tpop3d ---

depend() {
        need net
}

start() {
        ebegin "Starting tpop3d"
        start-stop-daemon --start --quiet --pidfile /var/run/inetd.pid --exec
/usr/sbin/tpop3d -- -f /etc/tpop3d/tpop3d.conf -p /var/run/tpop3d.pid
        eend $?
}

stop() {
        ebegin "Stopping tpop3d"
        start-stop-daemon --stop --quiet --pidfile /var/run/tpop3d.pid
        eend $?
}

--- end /etc/init.d/tpop3d ---


Reproducible: Always
Steps to Reproduce:
Comment 1 Bryan Østergaard (RETIRED) gentoo-dev 2003-08-02 13:25:42 UTC
Created attachment 15385 [details]
New initscript for tpop3d

Better initscript that checks existence of /etc/tpop3d/tpop3d.conf file
Comment 2 Brian Jackson (RETIRED) gentoo-dev 2003-08-02 21:44:47 UTC
committed thanks a bunch