Skip to content

Fix: Ensure Trickest agent service starts on boot #3

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ start_and_verify_service() {
echo "Starting Trickest agent service..."
sudo systemctl daemon-reload
set -e
sudo systemctl start trickest-agent.service
sudo systemctl enable --now trickest-agent.service
set +e
sleep 5
let try=0
Expand Down Expand Up @@ -309,4 +309,4 @@ if [[ "${TRICKEST_OS}" == "linux" ]]; then
elif [[ "${TRICKEST_OS}" == "darwin" ]]; then
echo "Please start the agent manually using the following command:"
echo "${TRICKEST_DATA_DIR}/trickest-agent -c ${TRICKEST_DATA_DIR}/conf.yaml run"
fi
fi