I have some scripts that I run at boot time to do some custom setups.
In SUSE releases gone by, the call to those scripts was placed in /etc/init.d/boot.local.
After installing Suse v15.0, boot.local was not in this folder, so I created it (with the calls to my scripts).
However, the scripts did NOT get executed when the system booted.
Has boot.local been replaced? If so, what takes it’s place?
If your daemon depends on some other processes you should add it to After section. Maybe you also want to replace daemon_user with the your spcific daemon user.
Then copy this file to /etc/systemd/system/daemon.service, reload configuration with
I was afraid that systemd configuration was the answer…
It always seems like when something simple works, Engineers replace it with something more complicated…
However, it looks like boot.local is STILL being processed.
When I created it (when it wasn’t there) I forgot to add the '#!/bin/bash’ first line in the file.
In releases gone by, a sample file was always created, so I never had to bother with it.
For now, I have boot.local back in business (until the next release).