The PowerConnect Cloud agent can be managed by Systemd.
Create the powerconnect systemd service file:
sudo vi /etc/systemd/system/powerconnect.service
2. Populate the contents as follows:
[Unit] Description=PowerConnect Cloud agent [Service] SuccessExitStatus=143 User=powerconnect Group=powerconnect Type=forking Restart=on-failure RestartSec=30 ExecStart=/bin/bash /opt/powerconnect/bin/powerconnect.sh start ExecStop=/bin/bash /opt/powerconnect/bin/powerconnect.sh stop [Install] WantedBy=multi-user.target
3. Reload the Systemd service:
sudo systemctl daemon-reload
4. Start the PowerConnect Cloud agent using Systemd:
sudo systemctl start powerconnect.service
5. Check the status:
systemctl status powerconnect
6. To have Systemd start the PowerConnect Cloud agent when the host starts up:
sudo systemctl enable powerconnect