Skip to content

Commit

Permalink
Fix parallel stop
Browse files Browse the repository at this point in the history
  • Loading branch information
plengauer authored Mar 13, 2024
1 parent de49a1e commit c691115
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Deployment/Containerized/DEBIAN/control
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: philbot-containerized
Provides: philbot-deployment
Version: 2.9.2
Version: 2.9.3
Architecture: all
Depends: philbot-config (>= 4.0.0), debconf, bash, parallel, cron, wget, docker.io, iptables-persistent, jq, opentelemetry-shell (>= 2.6.1)
Conflicts: philbot-baremetal, philbot-k8s
Expand Down
5 changes: 2 additions & 3 deletions Deployment/Containerized/usr/bin/philbot_stop
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#!/bin/bash
#!/bin/bash -e
source /usr/bin/philbot_init_otel
source /opt/philbot/shards
{ echo philbot-scheduler philbot-discordgateway2httpmaster philbot-backend philbot-voice philbot-selfmonitoring; seq -s " philbot-discordgateway2http_" 0 $(($SHARD_COUNT-1)) | xargs -I '{}' echo philbot-discordgateway2http_'{}'; } | xargs parallel docker rm --force :::
exit 0
{ echo -n philbot-scheduler philbot-discordgateway2httpmaster philbot-backend philbot-voice philbot-selfmonitoring; seq -s " philbot-discordgateway2http_" 0 $(($SHARD_COUNT-1)) | xargs -I '{}' echo philbot-discordgateway2http_'{}'; } | xargs parallel docker rm --force :::

0 comments on commit c691115

Please sign in to comment.