Skip to content

Commit

Permalink
Merge pull request #483 from lolautruche/patch-1
Browse files Browse the repository at this point in the history
Use systemctl instead of services to install blackfire
  • Loading branch information
shivammathur committed Aug 14, 2021
2 parents dd9dcd7 + 9abd566 commit d392f95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/tools/blackfire.sh
Expand Up @@ -16,7 +16,7 @@ add_blackfire_darwin() {
blackfire_config() {
if [[ -n $BLACKFIRE_SERVER_ID ]] && [[ -n $BLACKFIRE_SERVER_TOKEN ]]; then
blackfire agent:config --server-id="$BLACKFIRE_SERVER_ID" --server-token="$BLACKFIRE_SERVER_TOKEN"
[ "$os" = "Linux" ] && sudo service blackfire-agent restart
[ "$os" = "Linux" ] && sudo systemctl start blackfire-agent
[ "$os" = "Darwin" ] && brew services start blackfire
fi
if [[ -n $BLACKFIRE_CLIENT_ID ]] && [[ -n $BLACKFIRE_CLIENT_TOKEN ]]; then
Expand Down

0 comments on commit d392f95

Please sign in to comment.