Created
October 29, 2019 23:28
-
-
Save keithy/39789d4d64d0708909ae95554ed5a5a6 to your computer and use it in GitHub Desktop.
fcct/systemd snippets
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [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