Skip to content

Commit d9a5c9a

Browse files
committed
Use new service format.
1 parent b3a5ef7 commit d9a5c9a

File tree

5 files changed

+5
-2
lines changed

5 files changed

+5
-2
lines changed

docker/rootfs/etc/s6-overlay/s6-rc.d/cs-crowdsec-bouncer/dependencies.d/prepare

Whitespace-only changes.

docker/rootfs/etc/cont-init.d/99_crowdsec-openresty-bouncer.sh renamed to docker/rootfs/etc/s6-overlay/s6-rc.d/cs-crowdsec-bouncer/script.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/usr/bin/with-contenv bash
1+
#!/command/with-contenv bash
22

33
set -e # Exit immediately if a command exits with a non-zero status.
44

@@ -21,7 +21,7 @@ else
2121
fi
2222
#Make sure the config location is where we get the config from instead of /default/
2323
sed -i 's|/defaults/crowdsec|/data/crowdsec|' /data/crowdsec/crowdsec-openresty-bouncer.conf
24-
echo "Deploy Templates .."
24+
echo "Deploy Crowdsec Templates .."
2525
#Make sure we only copy files that don't exist in /data/crowdsec.
2626
cd /defaults/crowdsec/templates/
2727
for file in *.html
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
oneshot
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# shellcheck shell=bash
2+
/etc/s6-overlay/s6-rc.d/cs-crowdsec-bouncer/script.sh

docker/rootfs/etc/s6-overlay/s6-rc.d/nginx/dependencies.d/cs-crowdsec-bouncer

Whitespace-only changes.

0 commit comments

Comments
 (0)