Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mythbackend start up with nice -20?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
servo888
Apprentice
Apprentice


Joined: 22 Feb 2004
Posts: 293

PostPosted: Sun Aug 01, 2004 7:17 pm    Post subject: mythbackend start up with nice -20? Reply with quote

I'm trying to get mythbackend (which is the backend to the application MythTV) to start up on boot with the nice -20 option.

Code:

        ebegin "Starting myth backend"
        start-stop-daemon --start --quiet --chuid "${MYTH_USER}" \
                --exec /usr/bin/mythbackend -- \
                --daemon --pidfile "${MYTH_PID}" --logfile "${MYTH_LOG}"
        eend $?


So I tried this:
Code:

        ebegin "Starting myth backend"
        start-stop-daemon --start --quiet --chuid "${MYTH_USER}" \
                --exec /usr/bin/nice -n -20 /usr/bin/mythbackend -- \
                --daemon --pidfile "${MYTH_PID}" --logfile "${MYTH_LOG}"
        eend $?


But this did not work; mythbackend ran with nice 10. Can anybody help me out?
Back to top
View user's profile Send private message
KB7OEB
n00b
n00b


Joined: 28 Dec 2003
Posts: 58
Location: Phoenix,Arizona

PostPosted: Fri Oct 22, 2004 2:15 am    Post subject: Reply with quote

Take a look at --nicelevel , I got it from the start-stop-dameon man page

Code:
 ebegin "Starting myth backend"
        start-stop-daemon --start --quiet --nicelevel -10 --chuid "${MYTH_USER}" \
                --exec /usr/bin/mythbackend -- \
                --daemon --pidfile "${MYTH_PID}" --logfile "${MYTH_LOG}" \
                --verbose ${MYTH_VERBOSE}
        eend $?
}
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum