| 1 |
[Unit] |
| 2 |
|
| 3 |
Description=Braille Device Support |
| 4 |
Documentation=man:brltty(1) |
| 5 |
Documentation=http://brltty.com/ |
| 6 |
|
| 7 |
DefaultDependencies=no |
| 8 |
Before=sysinit.target |
| 9 |
|
| 10 |
RequiresMountsFor=/var/lib/brltty |
| 11 |
RequiresMountsFor=/var/lib/BrlAPI |
| 12 |
|
| 13 |
After=systemd-udev-settle.service |
| 14 |
Wants=systemd-udev-settle.service |
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
[Service] |
| 19 |
|
| 20 |
Type=notify |
| 21 |
ExecStartPre=/bin/sh -c 'PIDFILE=/run/brltty-initramfs.pid ; if [ -s $PIDFILE ]; then kill $(cat $PIDFILE) ; rm -f $PIDFILE ; fi' |
| 22 |
ExecStart=/bin/brltty --no-daemon |
| 23 |
|
| 24 |
TimeoutStartSec=5 |
| 25 |
TimeoutStopSec=10 |
| 26 |
|
| 27 |
Restart=always |
| 28 |
RestartSec=30 |
| 29 |
|
| 30 |
Nice=-10 |
| 31 |
OOMScoreAdjust=-900 |
| 32 |
|
| 33 |
|
| 34 |
[Install] |
| 35 |
WantedBy=sysinit.target |
| 36 |
|
| 37 |
|