Skip to content

Commit

Permalink
Introduces switch for grr fleetspeak client dev option
Browse files Browse the repository at this point in the history
  • Loading branch information
daschwanden committed Jul 22, 2024
1 parent 1b0525d commit 7ceeb90
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 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
@@ -0,0 +1,6 @@
#!/bin/bash
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
/usr/sbin/grrd
fi
3 changes: 1 addition & 2 deletions docker_config_files/client/textservices/grr_client.service
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ name: "GRR"
factory: "Daemon"
config: {
[type.googleapis.com/fleetspeak.daemonservice.Config]: {
argv: "/usr/share/grr-server/bin/python"
argv: "/usr/share//grr-server/bin/grr_fleetspeak_client"
argv: "/configs/client/grr_fleetspeak_client.sh"
argv: "--config"
argv: "/configs/client/grr.client.yaml"
}
Expand Down

0 comments on commit 7ceeb90

Please sign in to comment.