Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 73379 Details for
Bug 97255
mpich2-1.0.1.ebuild (New Package)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
init.d script for mpd
mpd (text/plain), 852 bytes, created by
Nicolas Bigaouette
on 2005-11-22 08:42:04 UTC
(
hide
)
Description:
init.d script for mpd
Filename:
MIME Type:
Creator:
Nicolas Bigaouette
Created:
2005-11-22 08:42:04 UTC
Size:
852 bytes
patch
obsolete
>#!/sbin/runscript > >checkconfig() { > if [ -z "/etc/mpd.conf" ]; then > eerror "You must set config options in /etc/mpd.conf first" > return 1 > fi >} > >start() { > # display to the user what you're doing > ebegin "Starting mpd daemon" > # Run the checkconfig function > checkconfig || return 1 > # Start the process as a daemon and record the pid number > start-stop-daemon --start --quiet --background \ > --pidfile /var/run/mpd.pid --make-pidfile \ > --exec /usr/bin/mpd > # output success or failure > eend $? >} > >stop() { > # display a message to the user > ebegin "Stopping mpd daemon" > # stop the daemon using the pid recorded from the start() function > start-stop-daemon --stop --pidfile /var/run/mpd.pid > # output success or failure > eend $? >} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 97255
:
62103
|
66658
|
70311
|
72987
|
73312
| 73379 |
73382
|
73383
|
73386