Skip to content

Commit

Permalink
Add shebang! to executable *.sh files.
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew-Grayson committed Mar 6, 2024
1 parent d21acb8 commit aa8b65c
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion backend/worker/pe_scripts/runPeAlerts.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash

cd /app/pe-reports
cd /app/pe-reports || return

pe-source cybersixgill --cybersix-methods=alerts --soc_med_included
1 change: 1 addition & 0 deletions backend/worker/worker-entry.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/bin/bash
# Sets up an explicit proxy using mitmproxy.

set -e
Expand Down
2 changes: 2 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/bin/bash

docker-compose down --volumes --rmi all
cd backend && npm run build-worker && cd .. && npm start
cd backend && npm run syncdb && npm run syncdb -- -d populate
2 changes: 2 additions & 0 deletions rebuild.sh
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
#!/bin/bash

docker-compose up -d --build
1 change: 1 addition & 0 deletions setup-matomo.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/bin/bash
# Fixes the trusted_hosts issue to allow Matomo to run on a custom port locally, as
# a workaround for https://github.com/matomo-org/matomo/issues/9549.
# Run this after initially setting up Matomo through the UI.
Expand Down

0 comments on commit aa8b65c

Please sign in to comment.