Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
yunkon-kim opened this issue Mar 28, 2022 · 1 comment · Fixed by #265 or #275
Closed

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

yunkon-kim opened this issue Mar 28, 2022 · 1 comment · Fixed by #265 or #275
Assignees

Comments

@yunkon-kim
Copy link
Member

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

@yunkon-kim yunkon-kim self-assigned this Mar 28, 2022
@yunkon-kim yunkon-kim linked a pull request Mar 28, 2022 that will close this issue
@yunkon-kim
Copy link
Member Author

The service file should be updated.

  • Service file paths are different on Ubuntu and Centos.
  • ExecStop would be required for the graceful shutdown.

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

@yunkon-kim yunkon-kim linked a pull request Apr 5, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant