RHEL 9 by default has no /etc/init.d folder
Nolio Release Automation 6.8 on RHEL 9
To correct the automatic start up of the Nolio server and agent after booting the server, the scripts in systemd can be updated as follows:
[root@some_host_name /]# cat /etc/systemd/system/NolioASAP.service
[Unit]
Description=Nolio ASAP Service
After=network.target
[Service]
Type=simple
#ExecStart=/etc/init.d/NolioASAP start
ExecStart=/usr/local/ReleaseAutomationServer/./nolio_server.sh start
#ExecStop=/etc/init.d/NolioASAP stop
ExecStop=/usr/local/ReleaseAutomationServer/./nolio_server.sh stop
RemainAfterExit=yes
Restart=on-failure
[Install]
WantedBy=multi-user.target
[root@some_host_name /]# cat /etc/systemd/system/nolioagent.service
[Unit]
Description=Nolio Deployer Agent Service
After=network.target
[Service]
Type=simple
ExecStart=/usr/local/ReleaseAutomationServer/NolioAgent/nolio_agent.sh start
ExecStop=/usr/local/ReleaseAutomationServer/NolioAgent/nolio_agent.sh stop
RemainAfterExit=yes
Restart=on-failure
[Install]
WantedBy=multi-user.target
For some versions:
[root@some_host_name]# cat /etc/systemd/system/nolioagent.service
[Unit]
Description=Nolio Deployer Agent Service
After=network.target
[Service]
Type=simple
ExecStart=/usr/local/Broadcom/ReleaseAutomationAgent/nolio_agent.sh start
ExecStop=/usr/local/Broadcom/ReleaseAutomationAgent/nolio_agent.sh stop
RemainAfterExit=yes
Restart=on-failure
[Install]
WantedBy=multi-user.target