docker-borgstore/rootfs/app/restricted-ssh

9 lines
144 B
Plaintext
Raw Normal View History

2025-01-27 08:49:55 +01:00
#!/bin/sh
if [ "$1" = "borg" ] && [ "$2" = "serve" ] ; then
# shellcheck disable=SC2068
$@ --restrict-to-path /data
else
exit 1
fi