Skip to content

Instantly share code, notes, and snippets.

@keithy
keithy / AutomountUSB.service
Created October 29, 2019 23:28
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