Create linux systemd service


Create the file
/etc/systemd/system/routes.service


File content:

[Unit]
Description=Routes
After=multi-user.target

[Service]
Type=idle
ExecStart=/etc/init.d/routes.sh

[Install]
WantedBy=multi-user.target


Now lets enable service:
systemctl enable routes.service

If your script have start/stop options, change the ExecStart:
ExecStart=/etc/init.d/routes.sh start
ExecStop=/etc/init.d/routes.sh stop


Reiniciar VCenter

  Opção 1: Pela Interface VAMI (Recomendado) Acesse o portal de gerenciamento pelo endereço: https://<IP_DO_VCENTER_OU_FQDN>:5480 . Ef...

Mais vistos