Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 27322 - I made a init script for monopd 0.8.2 (it should also work on other versions)
Summary: I made a init script for monopd 0.8.2 (it should also work on other versions)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High enhancement (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-08-25 15:47 UTC by Nikolas Garofil
Modified: 2003-08-25 19:38 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nikolas Garofil 2003-08-25 15:47:15 UTC
#!/sbin/runscript

depend() {
        use net
}

start() {
        ebegin "Starting monopd server"
        start-stop-daemon --start -q -b --exec /usr/games/bin/monopd
        eend $?
}

stop() {
        ebegin "Stopping monopd server"
        start-stop-daemon --stop -q --exec /usr/games/bin/monopd
        eend $?
}

Reproducible: Always
Steps to Reproduce:
You can include this in the monopd ebuild, this script needs the following
permissions, user,group and path:
"-rwxr-xr-x    1 root     root          290 Aug 26 00:17 /etc/init.d/monopd"
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2003-08-25 19:38:32 UTC
Added to -r1 for monopd in CVS.  Thanks for the file.