16

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?

Ben Rowe
  • 273
  • 1
  • 2
  • 6

3 Answers3

21

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
Marco
  • 1,577
11

For TrueNAS 12:

service middlewared restart
service nginx restart
2

To restart lighthttpd, use:

/etc/rc.d/lighttpd restart
TrinitronX
  • 1,161