Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 164069 Details for
Bug 235953
net-irc/quassel - quasselcore init script doesn't work correctly with baselayout-1
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
quasselcore.init.diff
quasselcore.init.diff (text/plain), 1.06 KB, created by
Daniel Pielmeier
on 2008-08-29 17:31:12 UTC
(
hide
)
Description:
quasselcore.init.diff
Filename:
MIME Type:
Creator:
Daniel Pielmeier
Created:
2008-08-29 17:31:12 UTC
Size:
1.06 KB
patch
obsolete
>--- quasselcore.init.old 2008-08-28 20:46:42.000000000 +0200 >+++ quasselcore.init 2008-08-29 19:23:23.000000000 +0200 >@@ -9,14 +9,21 @@ > > start() { > ebegin "Starting Quassel Core" >- start-stop-daemon --start --user $QUASSEL_USER --background --make-pidfile \ >- --pidfile /var/run/quassel.pid --exec /usr/bin/quasselcore -- ${QUASSEL_OPTS} >+ if [ -x /etc/init.d/root ]; then >+ # running on baselayout-2/openrc >+ start-stop-daemon --start --user ${QUASSEL_USER} --background --make-pidfile \ >+ --pidfile /var/run/quassel.pid --exec /usr/bin/quasselcore -- ${QUASSEL_OPTS} >+ else >+ # running on baselayout-1 >+ start-stop-daemon --start --chuid ${QUASSEL_USER} --background --make-pidfile \ >+ --pidfile /var/run/quassel.pid --env HOME="/home/${QUASSEL_USER}" \ >+ --exec /usr/bin/quasselcore -- ${QUASSEL_OPTS} >+ fi > eend $? > } > > stop() { > ebegin "Stopping Quassel Core" >- start-stop-daemon --stop --user $QUASSEL_USER --pidfile /var/run/quassel.pid \ >- --exec /usr/bin/quasselcore >+ start-stop-daemon --stop --pidfile /var/run/quassel.pid --exec /usr/bin/quasselcore > 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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 235953
:
163987
|
164019
|
164020
|
164022
| 164069