Minidlna - SSH

Status
Not open for further replies.

sebile

Dabbler
Joined
Feb 2, 2012
Messages
11
Under FreeNAS <8.2 minidlna was running as a service that could easily be stopped, started and restarted via a simple command in a SSH connection

service minidlna restart

This was especially useful when copying new media to the server. I created some really simple scripts which automatically restarted minidlna over a ssh connection (via private/public keys saved on the machines).

Now I read somewhere that the plugin jail can only be accessed through the webshell. Does anyone know a more comfortable way to restart minidlna than turning it on and off through the services page everytime I need a new index?

Thanks :smile:
 

William Grzybowski

Wizard
iXsystems
Joined
May 27, 2011
Messages
1,754
You can install SSH in the jail and SSH there...

Or use jexec command within normal SSH:

# jexec 1 service minidlna restart
 
Status
Not open for further replies.
Top