Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have jenkins running, but I need to stop it. in /var/run I have jenkins.pid which is what the standard jenkins script uses to stop jenkins. The jenkins script uses start-stop-daemon which doesn't seem to exist in fedora15. My system also does not find daemon which I read would be a fedora replacement for start-stop-daemon.

I am not good with Linux terminology. I did find the daemon function defined in /etc/init.d/functions but I don't know how to run it.

Can I run it or can I use something else?

share|improve this question
add comment

2 Answers

up vote 0 down vote accepted

Run service jenkins stop as root. You can use the su - command to access a root shell. See The Fedora Basics FAQ for more information.

share|improve this answer
    
So anything pid in linux is a service? –  Rythmic Nov 6 '11 at 19:32
    
@Rythmic: The jenkins.pid file contains the process ID number that Jenkins runs as. You could try killing Jenkins using a command like xargs kill < /var/run/jenkins.pid, but it is better to use the distribution's or service's own tool (as described above) if you can. –  PleaseStand Nov 7 '11 at 12:20
add comment

You can use

chkconfig jenkins off

to make it permanent - so it won't run next time you boot.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.