docker-borgstore/rootfs/app/restricted-ssh
paspo 9a5ac13382
All checks were successful
continuous-integration/drone/push Build is passing
Vulnerability Scan / Daily Vulnerability Scan (push) Successful in 10s
initial import
2025-01-27 08:49:55 +01:00

9 lines
144 B
Bash
Executable File

#!/bin/sh
if [ "$1" = "borg" ] && [ "$2" = "serve" ] ; then
# shellcheck disable=SC2068
$@ --restrict-to-path /data
else
exit 1
fi