[CentOS] systemd

Fri Feb 8 08:55:26 UTC 2019
Lange, Markus <M.Lange at dnb.de>

Hi,

for compiling Kernel Modules it might be worth looking at DKMS.
DKMS is available through EPEL and is designed to compile Kernel
Modules in an automated way when ever Kernel Updates are made.

For more Informations on DKMS see [1, 2, 3].

best regards,
Markus

[1] https://github.com/dell/dkms
[2] https://linux.die.net/man/8/dkms
[3] https://wiki.archlinux.org/index.php/Dynamic_Kernel_Module_Support

On Thu, 2019-02-07 at 09:40 -0500, Jerry Geis wrote:
> Hi All -  I have a systemd service file to start my application.
> 
> Part of my service file is:
> [Service]
> Type=forking
> ExecStart=/path to start
> ExecStop=/path to stop
> RemainAfterExit=yes
> 
> This works fine "normally".
> 
> However - when I do a "yum update; and reboot"  my script detects a
> kernel
> change and now does a number of "recompiling" steps for drivers and
> such
> before starting my application. Somewhere along the way that just
> stops.
> I'm half way into recompiling those drivers and it just stops.
> 
> Is there something else I need in the service file ?
> 
> Thanks
> 
> Jerry
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> https://lists.centos.org/mailman/listinfo/centos