saltyorg / sb

0 stars 9 forks source link

Shortcuts to mount status and logs #16

Open owine opened 8 months ago

owine commented 8 months ago

With custom mount support and long managed named, it may be helpful to be able to check mount service status and logs via the sb tool.

sb mount-status google -> sudo systemctl status saltbox_managed_rclone_google.service sb mount-logs google -> sudo journctl -u saltbox_managed_rclone_google.service

sb unionfs-status, sb mergerfs-status sb unionfs-logs, sb mergerfs-logs

A real luxury would be to have a selector appear when running sb mount-status or sb mount-logs which parses mounts from settings.yml and lets the user pick which mount they want to check the status/logs for.