PDA

View Full Version : how to call old init.d start files



Bernd
02-May-2016, 07:20
Hi,

SLES12SP1 use systemd. But there are some start files in a init.d manner.
Wich service call these files?

Bernd

ab
02-May-2016, 11:40
On 05/02/2016 12:20 AM, Bernd wrote:
> Hi,
>
> SLES12SP1 use systemd. But there are some start files in a init.d manner.
> Wich service call these files?

systemd has backward compatibility for sysV init scripts by default so it
calls them itself after other services are loaded. That's a gross
oversimplification, so you may find some other documentation useful:

https://www.freedesktop.org/software/systemd/man/systemd-sysv-generator.html

http://unix.stackexchange.com/questions/233468/how-does-systemd-use-etc-init-d-scripts

--
Good luck.

If you find this post helpful and are logged into the web interface,
show your appreciation and click on the star below...

Bernd
02-May-2016, 15:48
ab wrote on Montag, 2. Mai 2016 12:40 in suse.support.server.configure-
administer :

> On 05/02/2016 12:20 AM, Bernd wrote:
>> Hi,
>>
>> SLES12SP1 use systemd. But there are some start files in a init.d manner.
>> Wich service call these files?
>
> systemd has backward compatibility for sysV init scripts by default so it
> calls them itself after other services are loaded. That's a gross
> oversimplification, so you may find some other documentation useful:
>
> https://www.freedesktop.org/software/systemd/man/systemd-sysv-generator.html
>
> http://unix.stackexchange.com/questions/233468/how-does-systemd-use-etc-init-d-scripts
>

Thx for the links

Bernd