On Fri, July 18, 2014 6:12 pm, Hazel Russman wrote: > On Thu, 17 Jul 2014 17:31:14 +0200 > "Dr.-Ing. Edgar Alwers" <edgaralw...@gmx.de> wrote: > > >> Hi Bruce, >> >> >> I just finished installing the new LFS-7.5 systemd version. Now, in >> order to start with BLFS, I am trying to build GPM-1.20.7, to be able to >> copy and paste under lynx and a console ( BLFS Version 2014-07-16 ) >> >> GPM-1.20.7 asks for the installation of a script "gpm" >> in /etc/rc.d/init.d. However, this script belongs to LFS 7.0 and asks for >> /lib/lsb/init-functions, and this init-functions are only >> mentioned in the stable LFS-7.5 Version 20130821, not in the systemd >> version. >> >> I am aware, that the scripts will not be more used under systemd, and >> I can solve my problem copying the init-functions from the stable >> version of LFS, but perhaps you could tell me the "right" way to proceed >> here ? >> >> Thank you very much, >> Edgar >> > > You need to create a gpm.service file for systemd. Fortunately the > syntax is quite simple. Here's the one I use: > > [Unit] > Description=gpm console mouse service > > > [Service] > ExecStart=/usr/sbin/gpm -m /dev/input/mice -t imps2 > Type=forking > PIDFile=/run/gpm.pid > > > [Install] > WantedBy=multi-user.target > > > Put it in /etc/systemd/system. > > > Hazel > > > -- > http://lists.linuxfromscratch.org/listinfo/blfs-support > FAQ: http://www.linuxfromscratch.org/blfs/faq.html > Unsubscribe: See the above information page > >
Hello Hazel, I don't think that you have actually read the entire thread. Armin has already provided the link to his notes which has a BLFS version of systemd units available for download which includes the GPM service file. When replying it is important to read ALL responces first. Christopher. -- http://lists.linuxfromscratch.org/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page