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.

I've come across a bug with freenas where the web ui (lighthttpd) can freeze up and render the service to hang. Is there an easy way to restart this service via a terminal?

share|improve this question

2 Answers 2

Current versions of FreeNAS use nginx and the Django framework. They can be restarted as follows:

service nginx restart
service django restart

or

/usr/local/etc/rc.d/nginx  restart
/usr/local/etc/rc.d/django restart
share|improve this answer

To restart lighthttpd, use:

/etc/rc.d/lighttpd restart
share|improve this answer

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.