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


_______________________________________________
This message was sent via the BRLTTY mailing list.
To post a message, send an e-mail to: BRLTTY@brltty.com
For general information, go to: http://brltty.com/mailman/listinfo/brltty

Reply via email to