Skip to content

Commit 377c2e8

Browse files
authored
create wrapper
1 parent 62d7ad7 commit 377c2e8

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

borgmatic/borgmatic-wrapper

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/sh
2+
3+
sudo docker compose \
4+
-f /opt/borgmatic/docker-compose.yml \
5+
run --rm --entrypoint 'borgmatic' borgmatic \
6+
"$@"

fail2ban/fail2ban-client-wrapper

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/sh
2+
3+
sudo docker compose \
4+
-f /opt/fail2ban/docker-compose.yml \
5+
exec -t fail2ban \
6+
fail2ban-client \
7+
"$@"

0 commit comments

Comments
 (0)