Show logs from when systemd service last restarted. (This needs systemd > v232)

journalctl _SYSTEMD_INVOCATION_ID=$(systemctl show -p InvocationID --value SERVICE_NAME.service) | head -n15

NFS Mount with NFS and /etc/fstab

From all of my reading over the years it’s always been said to add _netdev to the /etc/fstab mount, but that never worked for me. After more reading it appears that was for SystemV which is dead. I figured it out after much Googleing. Below is how to mount NFS with /etc/fstab when using SystemD


Doesn’t always work, but seem seems to work better than _netdev