From c2e811ce23a6ba4cff651696f37f5d4c5b320deb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Vieilledent?= Date: Tue, 10 Aug 2021 10:33:14 +0200 Subject: [PATCH] Use systemctl instead of services to install blackfire --- src/scripts/tools/blackfire.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/tools/blackfire.sh b/src/scripts/tools/blackfire.sh index 13471451..672be674 100644 --- a/src/scripts/tools/blackfire.sh +++ b/src/scripts/tools/blackfire.sh @@ -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