How to restart plugins in jail

Status
Not open for further replies.

dasfaha

Cadet
Joined
Jan 27, 2014
Messages
4
What is the best method to start a plugin via command line? I am finding that if I shutdown plugins like sabnzbd, sickbeard etc throughout the app (app webpage) I get failures (i.e. app will not start) when I use the freenas app to start the app.

What is the best way to start the app via command line? The only way I found to get around this is restart the whole freenas server and the apps start fine.

thanks.
 

Joshua Parker Ruehlig

Hall of Famer
Joined
Dec 5, 2011
Messages
5,949
What is the best method to start a plugin via command line? I am finding that if I shutdown plugins like sabnzbd, sickbeard etc throughout the app (app webpage) I get failures (i.e. app will not start) when I use the freenas app to start the app.

What is the best way to start the app via command line? The only way I found to get around this is restart the whole freenas server and the apps start fine.

thanks.
enable plugin - sysrc 'sabnzbd_enable=YES'
start plugin (if enabled) - service sabnzbd start
start plugin (regardless) - service sabnzbd onestart

This is exactly what the Start/Stop buttons do in the FreeNAS WebUI, but maybe the python interface that is tied to these buttons is borked for you.
 
Status
Not open for further replies.
Top