Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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

service nginx restart
service django restart


/usr/local/etc/rc.d/nginx  restart
/usr/local/etc/rc.d/django restart
share|improve this answer
works for FreeBSD freenas.local 9.3-RELEASE-p8 FreeBSD 9.3-RELEASE-p8 #1 r275790+18ab2bc: Wed Jan 21 12:32:31 PST 2015‌​kh/93/FN/FreeBSD/src/sys/FREENAS.amd64 amd64 – aaaaaa Jan 17 at 10:47

To restart lighthttpd, use:

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

Your Answer


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.