Skip to content

Commit

Permalink
Update linux agent installation documentation (#2326)
Browse files Browse the repository at this point in the history
  • Loading branch information
ramanan-ravi authored Oct 2, 2024
1 parent 0027cae commit 2246f55
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions deepfence_server/handler/cloud_node.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ func (h *Handler) RegisterCloudNodeAccountHandler(w http.ResponseWriter, r *http
}
err = model.UpsertCloudAccount(ctx, orgAccountNode, req.IsOrganizationDeployment, req.HostNodeID, req.InitialRequest)
if err != nil {
log.Error().Msg(err.Error())
h.complianceError(w, err.Error())
return
}
Expand Down
12 changes: 6 additions & 6 deletions docs/docs/sensors/linux-host.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,12 +139,12 @@ Description=Deepfence Agent Service
After=network.target
[Service]
Environment=MGMT_CONSOLE_URL="$MGMT_CONSOLE_URL"
Environment=DEEPFENCE_KEY="$DEEPFENCE_KEY"
Environment=MGMT_CONSOLE_PORT="$MGMT_CONSOLE_PORT"
Environment=MGMT_CONSOLE_URL_SCHEMA="$MGMT_CONSOLE_URL_SCHEMA"
Environment=DF_HOSTNAME="$(hostname)"
Environment=DF_LOG_LEVEL="$DF_LOG_LEVEL"
Environment="MGMT_CONSOLE_URL=$MGMT_CONSOLE_URL"
Environment="DEEPFENCE_KEY=$DEEPFENCE_KEY"
Environment="MGMT_CONSOLE_PORT=$MGMT_CONSOLE_PORT"
Environment="MGMT_CONSOLE_URL_SCHEMA=$MGMT_CONSOLE_URL_SCHEMA"
Environment="DF_HOSTNAME=$(hostname)"
Environment="DF_LOG_LEVEL=$DF_LOG_LEVEL"
User=root
Group=root
Expand Down

0 comments on commit 2246f55

Please sign in to comment.