Skip to content

Instantly share code, notes, and snippets.

@dnno
Created April 23, 2021 11:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dnno/3da7d23f65c256b474d57007317c8ac8 to your computer and use it in GitHub Desktop.
Save dnno/3da7d23f65c256b474d57007317c8ac8 to your computer and use it in GitHub Desktop.
Systemd unit for automounting an external device
[Unit]
Description=Automount USB Backup
[Automount]
Where=/media/backup
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment