Systemd tips and tricks
Jump to navigation
Jump to search
Ensure the mount path is accessible before the service
[Unit]
RequiresMountsFor=<path required>
This will ensure the path is accessible before starting the service and also will mount it if it's not already (unless it has noauto specified).