# \#rules

**URL:** https://www.debian-fr.org/tag/rules/451.md

[Récents](https://www.debian-fr.org/latest.md) · [Catégories](https://www.debian-fr.org/categories.md) · [Étiquettes](https://www.debian-fr.org/tags.md)

---

## [Règle UDEV pour redémarrter un service via systemd](https://www.debian-fr.org/t/regle-udev-pour-redemarrter-un-service-via-systemd/89604)

<div class="topic-metadata">

**Author:** [@Zargos](https://www.debian-fr.org/u/Zargos)\
**Réponses:** 13\
**Dernière mise à jour :** [Mars 2, 2024, 11:27 UTC](https://www.debian-fr.org/t/regle-udev-pour-redemarrter-un-service-via-systemd/89604 "2024-03-02T11:27:58Z")

</div>

J’ai créé la règle udev suivante: ACTION!="add", GOTO="yubico\_end" SUBSYSTEM=="usb", ATTRS{idVendor}=="1050", ATTRS{idProduct}=="0407", RUN+="/usr/bin/systemctl restart usbip.service" LABEL="yubico\_end" Le service la…
