3
0
Fork 0
forked from mirrors/nixpkgs

brltty service: wait for devices to settle

Otherwise it starts way too early, only to fail and having to restart
until devices are available.  It is less wasteful to simply wait until
there's a reasonable chance of success.  This is consistent with
upstream.
This commit is contained in:
Joachim Fasting 2016-12-18 11:47:12 +01:00
parent feb6dbc916
commit c27eeeafd9
No known key found for this signature in database
GPG key ID: 7544761007FE4E08

View file

@ -39,6 +39,8 @@ in {
ProtectSystem = "full";
SystemCallArchitectures = "native";
};
wants = [ "systemd-udev-settle.service" ];
after = [ "local-fs.target" "systemd-udev-settle.service" ];
before = [ "sysinit.target" ];
wantedBy = [ "sysinit.target" ];
};