Re: [BRLTTY] Systemd service autostart

2015-09-02 Thread Mike Gorse
On Wed, 26 Aug 2015, Samuel Thibault wrote: Apparently, udev rules can be made to start a systemd service with ENV{SYSTEMD_WANTS}="brltty.service" I'm curious whether you've tried this and, if so, if you got it to work. I was also trying to do this for openSUSE/SLED, but I couldn't get it to

Re: [BRLTTY] Systemd service autostart

2015-08-27 Thread Bram Duvigneau
On 27-8-2015 10:00, Mario Lang wrote: > Dave Mielke writes: > >> [quoted lines by Samuel Thibault on 2015/08/26 at 02:09 +0200] >> >> P.S.: I am actually a bit disapointed about the udev/systemd >> integration. I was kind of expecting a .usb unit that would just let >> us list a number of USB IDs,

Re: [BRLTTY] Systemd service autostart

2015-08-27 Thread Mario Lang
Dave Mielke writes: > [quoted lines by Samuel Thibault on 2015/08/26 at 02:09 +0200] > >>Apparently, udev rules can be made to start a systemd service with >>ENV{SYSTEMD_WANTS}="brltty.service" > > Would we still need two udev.rules files - one to have systemd start brltty, > and one to have ude

Re: [BRLTTY] Systemd service autostart

2015-08-26 Thread Samuel Thibault
Dave Mielke, le Wed 26 Aug 2015 13:01:32 -0400, a écrit : > [quoted lines by Samuel Thibault on 2015/08/26 at 17:59 +0200] > >I guess the same udev rules file could be used for both cases. > > But how? run+= and ENV{SYSTEMD_WANTS}= would seem to be mutually exclusive. I guess there may be variabl

Re: [BRLTTY] Systemd service autostart

2015-08-26 Thread Dave Mielke
[quoted lines by Samuel Thibault on 2015/08/26 at 17:59 +0200] >I guess the same udev rules file could be used for both cases. But how? run+= and ENV{SYSTEMD_WANTS}= would seem to be mutually exclusive. -- Dave Mielke | 2213 Fox Crescent | The Bible is the very Word of God. Phone: 1-6

Re: [BRLTTY] Systemd service autostart

2015-08-26 Thread Samuel Thibault
Dave Mielke, le Wed 26 Aug 2015 11:49:05 -0400, a écrit : > [quoted lines by Samuel Thibault on 2015/08/26 at 02:09 +0200] > >Apparently, udev rules can be made to start a systemd service with > >ENV{SYSTEMD_WANTS}="brltty.service" > > Would we still need two udev.rules files - one to have systemd

Re: [BRLTTY] Systemd service autostart

2015-08-26 Thread Dave Mielke
[quoted lines by Samuel Thibault on 2015/08/26 at 02:09 +0200] >Apparently, udev rules can be made to start a systemd service with >ENV{SYSTEMD_WANTS}="brltty.service" Would we still need two udev.rules files - one to have systemd start brltty, and one to have udev start it? Might there be a way

Re: [BRLTTY] Systemd service autostart

2015-08-25 Thread Samuel Thibault
Samuel Thibault, le Wed 26 Aug 2015 02:05:19 +0200, a écrit : > I haven't investigated about the details yet, but the idea would > be that systemd knows about the brltty service, which may be started > and stopped by handle, or enabled to start automatically at boot, or > auto-started on USB plug e