[BRLTTY] 5.6
Brian Tew
montanalag at gmail.com
Tue Apr 3 13:10:14 EDT 2018
quoting Dave:
Look in /usr/lib/systemd/system for a file with a name like brltty.service. In it, look
for a line that starts with ExecStart=. It's probably specifying /bin/brltty
(end of quote)
/usr/lib/systemd/system does not exist. /usr/lib/systemd does exist, but theres no system directory in it.
locate brltty.service done as root gives four listings;
/etc/systemd/system/sysinit.target.wants/brltty.service
/lib/systemd/system/brltty.service
/var/lib/systemd/deb-systemd-helper-enabled/brltty.service.dsh-also
/var/lib/systemd/deb-systemd-helper-enabled/sysinit.target.wants/brltty.service
but even though the locate command shows them root cannot see three of them.
When root tries to edit those files it says no such file or directory.
Only the second one can be found by root.
/lib/systemd/system/brltty.service
that file is below. the execstart line is not so simple.
[Unit]
Description=Braille Device Support
Documentation=man:brltty(1)
Documentation=http://brltty.com/
DefaultDependencies=no
Before=sysinit.target
RequiresMountsFor=/var/lib/brltty
[Service]
PIDFile=/run/brltty.pid
ExecStart=/bin/sh -c "grep -sq '^ *RUN_BRLTTY=no' /etc/default/brltty || exec /sbin/brltty -P /run/brltty.pid"
TimeoutStartSec=5
TimeoutStopSec=10
Restart=on-failure
RestartSec=30
Nice=-10
OOMScoreAdjust=-900
ProtectHome=read-only
ProtectSystem=full
SystemCallArchitectures=native
[Install]
WantedBy=sysinit.target
More information about the BRLTTY
mailing list