Skip to content

Commit

Permalink
Adds comment to explain startup script switch
Browse files Browse the repository at this point in the history
  • Loading branch information
daschwanden committed Aug 9, 2024
1 parent 2a0023e commit 05e938b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docker_config_files/client/grr_fleetspeak_client.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
#!/bin/bash
#
# This script is run when Fleetspeak runs the GRR client.
# It first checks whether we run Docker Compose Watch (i.e. in dev mode).
# If so we run the grr_fleetspeak_client python script so Docker Compose can
# swap in the source code updates on a continuous basis.
# If not we run grrd as we would do so in production.
if [ -f /usr/share/grr-server/bin/grr_fleetspeak_client ]; then
/usr/share/grr-server/bin/python /usr/share/grr-server/bin/grr_fleetspeak_client "$@"
else
Expand Down

0 comments on commit 05e938b

Please sign in to comment.