You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
342 B
15 lines
342 B
[Unit]
|
|
Description=Libvirt guest usb hotplug: %I
|
|
After=libvirtd.service
|
|
BindsTo=dev-libvirt_%i.device
|
|
After=dev-libvirt_%i.device
|
|
Requisite=dev-libvirt_%i.device
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
RemainAfterExit=yes
|
|
ExecStart=/usr/bin/libvirt-usb-hotplug add %I
|
|
ExecStop=/usr/bin/libvirt-usb-hotplug remove %I
|
|
|
|
[Install]
|
|
WantedBy=dev-libvirt_%i.device
|
|
|