cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

init.d and erunbook Agent

currently the erunBook-Agent's process is started via init.d in Linux distributions.

'systemd'  is the new standard procedure  in Linux distributions and apparently future distributions will not support init.d anymore.

 Will there be a Change from init.d to 'systemd' in the future?

(1) Solution

I talked with engineering yesterday. The last answer wasn't correct. It is not automatically solved by an new version. The following code could be used  for a system variant using old eRunbook init.d script:

 

[Unit]

Description=eRunbook

After=network.target

 

[Service]

Type=forking

ExecStart=/etc/init.d/eRunbook start

ExecStop=/etc.init.d/eRunbook stop

 

[Install]

WantedBy=multi-user.target

 

Actions:

  1. store at: /etc/systemd/system/eRunbook.service
  2. start agent with "systemctl daemon-reload"
  3. stop agent with "systemctl start eRunbook"

 

Requirement:

The init script eRunbook in/etc/init.d/ exists.

View solution in original post

(2) Replies
slussi
By Level 2 Flexeran
Level 2 Flexeran

Yes, it will change respectively has changed.
The newly released version 12.1 does offer the according script.

I talked with engineering yesterday. The last answer wasn't correct. It is not automatically solved by an new version. The following code could be used  for a system variant using old eRunbook init.d script:

 

[Unit]

Description=eRunbook

After=network.target

 

[Service]

Type=forking

ExecStart=/etc/init.d/eRunbook start

ExecStop=/etc.init.d/eRunbook stop

 

[Install]

WantedBy=multi-user.target

 

Actions:

  1. store at: /etc/systemd/system/eRunbook.service
  2. start agent with "systemctl daemon-reload"
  3. stop agent with "systemctl start eRunbook"

 

Requirement:

The init script eRunbook in/etc/init.d/ exists.