Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

In Ubuntu, I use -D to run a service as daemon. I wonder there is any similar command to do this in Centos.

share|improve this question
    
What thing are you trying to run as a service? –  cjc Mar 9 '12 at 14:59

1 Answer 1

-D can only be used if the applications supports that. If the application you intend to daemonise in Ubuntu is via -D option then it should work the same way in Centos Also.

share|improve this answer
    
Thanks, but i found the solution by using nohup with the command and end up with & –  Frankel Mar 12 '12 at 6:31

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.