cloud-barista / cb-larva

CB-Larva is Cloud-Barista Incubator. The incubator researches and develops essential technologies for multi-cloud.
Apache License 2.0
9 stars 8 forks source link

Check if the cb-network agent can run on CentOS7 #264

Closed yunkon-kim closed 2 years ago

yunkon-kim commented 2 years ago

I want to simply check if the cb-network agent could be running or not.

yunkon-kim commented 2 years ago

The service file should be updated.

The path and content of the service file

cat <<EOF | sudo tee -a /etc/systemd/system/cb-network-agent.service
[Unit]
Description=Service of cb-network agent

[Service]
Type=simple
ExecStart=${HOME}/cb-network-agent/run-cb-network-agent.sh
Restart=on-failure

[Install]
WantedBy=multi-user.target
EOF