Skip to content

Instantly share code, notes, and snippets.

@keithy
Created October 29, 2019 23:28
Show Gist options
  • Select an option

  • Save keithy/39789d4d64d0708909ae95554ed5a5a6 to your computer and use it in GitHub Desktop.

Select an option

Save keithy/39789d4d64d0708909ae95554ed5a5a6 to your computer and use it in GitHub Desktop.
fcct/systemd snippets
[Unit]
Description=Mount USB Drive on %i
[Service]
Type=oneshot
RemainAfterExit=true
ExecStart=/usr/local/bin/usb-mount.sh add %i
ExecStop=/usr/local/bin/usb-mount.sh remove %i
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment