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/udisks2-mount@.service
Normal file
8
ansible/templates/udisks2-mount@.service
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
[Unit]
|
||||
Description=Mount service
|
||||
BindTo=dev-%i.device
|
||||
|
||||
[Service]
|
||||
ExecStart=/bin/sh -c '/usr/bin/udisksctl mount -b /dev/%i'
|
||||
ExecStop=/bin/sh -c '/usr/bin/udisksctl unmount -b /dev/%i'
|
||||
RemainAfterExit=yes
|
||||
Loading…
Add table
Add a link
Reference in a new issue