Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 903483 Details for
Bug 939943
media-sound/mpd-0.23.15-r1 die: command not found in openrc init script
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
possible init script patch
mpd.patch (text/plain), 1.03 KB, created by
Alix
on 2024-09-21 05:17:22 UTC
(
hide
)
Description:
possible init script patch
Filename:
MIME Type:
Creator:
Alix
Created:
2024-09-21 05:17:22 UTC
Size:
1.03 KB
patch
obsolete
>--- /var/db/repos/gentoo/media-sound/mpd/files/mpd-0.23.15.init >+++ /etc/init.d/mpd >@@ -30,20 +30,30 @@ > description="Music Player Daemon" > > check_config() { >+ local _config_status= >+ ebegin "Checking ${SVCNAME} configuration" >+ _config_status=$? >+ > if [ -z "$(get_config pid_file)" ]; then >- die "pid_file must be set in ${CFGFILE}!" >+ eerror "pid_file must be set in ${CFGFILE}!" >+ _config_status=2 > fi > if [ -z "$(get_config user)" ]; then >- die "user must be set in ${CFGFILE}!" >+ eerror "user must be set in ${CFGFILE}!" >+ _config_status=2 > fi > if [ -z "$(get_config group)" ]; then >- die "group must be set in ${CFGFILE}!" >+ eerror "group must be set in ${CFGFILE}!" >+ _config_status=2 > fi >+ eend ${_config_status} "failed, please correct errors above" > } > > start_pre() { >- check_config >- >+ if [ "${RC_CMD}" != "restart" ] ; then >+ check_config || return 1 >+ fi >+ > local pid_dir="$(dirname "${pidfile}")" > checkpath -d -m 700 -o "${mpd_user}:${mpd_group}" "${pid_dir}" >
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 939943
: 903483