The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 906 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 906 errorHandler->error



Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Remount stored NAS shares from cli?
#1
Hello, 
is there an easy way to tell moode to remount the stored network shares and refresh the UI from command line interface?

Sometime it happens that my shares are down (they're virtualized on a server with a lot of other stuff).
As now I have a systemd job on moode that wakes up the server if ping is not successful and then, as a dirty fix, the server tells moode to reboot when samba share is ready. All of this via ssh.

It works, but a remount without reboot would be much better (and quicker).

I mean the "Re-mount all NAS sources" thing that we can trigger from the UI, I would like to automate that.

Thanks
Reply


Messages In This Thread
Remount stored NAS shares from cli? - by challenge - 12-23-2018, 10:37 AM

Forum Jump: