Closed yunkon-kim closed 2 years ago
The service file should be updated.
ExecStop
would be required for the graceful shutdown.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
I want to simply check if the cb-network agent could be running or not.