mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-22 20:01:06 +07:00
Use systemctl instead of services to install blackfire
This commit is contained in:
parent
dbf50bf9e0
commit
c2e811ce23
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user