Skip to content

Instantly share code, notes, and snippets.

@cas--
Created May 14, 2016 13:05
Show Gist options
  • Save cas--/975dc32e03cd51a53e239eb5563e6f57 to your computer and use it in GitHub Desktop.
Save cas--/975dc32e03cd51a53e239eb5563e6f57 to your computer and use it in GitHub Desktop.
systemd work
# List mounts
systemctl -t mount
# Unit starts after mount and unit is stopped when any of the mounts suddenly disappears.
After=xyz.mount
BindsTo=xyz.mount
# Also look at RequiresMountsFor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment