How do I reboot a deamon in linux?

Recommended Answers

All 4 Replies

depends on the distro

if its redhat/fedora its service XXXX restart

or

sudo /etc/init.d/servicename restart

or

su
[password]
/etc/init.d/servicename restart

How do I reboot a deamon in linux?

try kill -HUP <pid>

you'll see the pid no. via ps aux | more to view it if you need more info there's always man kill and man ps ;)

ok, i get it now, thanks for all the help

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.