| Bug#: 27322 | Product: Gentoo Linux | Version: unspecified | Platform: x86 |
| OS/Version: Linux | Status: RESOLVED | Severity: enhancement | Priority: P2 |
| Resolution: FIXED | Assigned To: games@gentoo.org | Reported By: garo@linux.be | |
| Component: Games | |||
| URL: | |||
| Summary: I made a init script for monopd 0.8.2 (it should also work on other versions) | |||
| Keywords: | |||
| Status Whiteboard: | |||
| Opened: 2003-08-25 15:47 0000 | |||
| Description: | Opened: 2003-08-25 15:47 0000 |
#!/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"
Added to -r1 for monopd in CVS. Thanks for the file.