Bring in missing templates/files locally
This commit is contained in:
parent
65b712b4ef
commit
0246e9a517
5 changed files with 23 additions and 4 deletions
8
ansible/templates/serve-usb@.service
Normal file
8
ansible/templates/serve-usb@.service
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
[Unit]
|
||||
Description=Serve USB content
|
||||
BindTo=dev-%i.device
|
||||
|
||||
[Service]
|
||||
ExecStart=/bin/sh -c '/usr/bin/on-usb-drive-mounted.sh /dev/%i'
|
||||
ExecStop=/bin/sh -c 'rm /media/usb-butter/'
|
||||
RemainAfterExit=yes
|
||||
Loading…
Add table
Add a link
Reference in a new issue