summarylogtreecommitdiffstats
path: root/99-co2mon.rules
diff options
context:
space:
mode:
authorSelf-Perfection2019-03-12 09:59:03 +0300
committerSelf-Perfection2019-03-12 10:00:43 +0300
commite4dbd48beb3516d6f582f3326c9b070c71825b9a (patch)
treee99d36df94f711b23291fd16bcaab29a3dd1baa4 /99-co2mon.rules
parentf35d3370674ec2e7ae5c8cbd899bf4b5b84abfd4 (diff)
downloadaur-e4dbd48beb3516d6f582f3326c9b070c71825b9a.tar.gz
Fixed co2mond stopping on device unplug
Diffstat (limited to '99-co2mon.rules')
-rw-r--r--99-co2mon.rules1
1 files changed, 1 insertions, 0 deletions
diff --git a/99-co2mon.rules b/99-co2mon.rules
index 4f35f72a7f9c..7988ac3c9243 100644
--- a/99-co2mon.rules
+++ b/99-co2mon.rules
@@ -1 +1,2 @@
SUBSYSTEM=="usb", ACTION=="add", ENV{PRODUCT}=="4d9/a052/*", OWNER="nobody", TAG+="systemd", ENV{SYSTEMD_WANTS}="co2mon.service", ENV{SYSTEMD_ALIAS}="/dev/co2mon"
+SUBSYSTEM=="usb", ACTION=="remove", ENV{PRODUCT}=="4d9/a052/*", TAG+="systemd", ENV{SYSTEMD_ALIAS}="/dev/co2mon"