Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP5:GA
brltty
brltty-5.3.1-udev-systemd.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File brltty-5.3.1-udev-systemd.patch of Package brltty
diff -ur brltty-5.3.1.orig/Autostart/Udev/udev.rules brltty-5.3.1/Autostart/Udev/udev.rules --- brltty-5.3.1.orig/Autostart/Udev/udev.rules 2015-12-19 14:24:27.000000000 -0600 +++ brltty-5.3.1/Autostart/Udev/udev.rules 2016-09-15 09:57:31.875481947 -0500 @@ -435,6 +435,7 @@ GOTO="brltty_run" LABEL="brltty_run" +TEST=="/sys/fs/cgroup/systemd", GOTO="brltty_systemd" ENV{BRLTTY_PID_FILE}="/var/run/brltty.$kernel.pid" ACTION=="add", GOTO="brltty_add" ACTION=="remove", GOTO="brltty_remove" @@ -449,4 +450,7 @@ RUN+="/bin/sh -c 'kill -TERM `cat $env{BRLTTY_PID_FILE}`'" GOTO="brltty_end" +LABEL="brltty_systemd" +ACTION!="add", GOTO="brltty_end" +TAG+="systemd", ENV{SYSTEMD_WANTS}+="brltty@$env{DEVNAME}.service" LABEL="brltty_end"
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor