0
0
Fork 0
mirror of https://github.com/atmoz/sftp.git synced 2024-12-22 13:14:42 -05:00

Move user file to /etc/sftp/ directory

This allows for mounting with ConfigMap or Secrets in Kubernetes
This commit is contained in:
Jason Murray 2017-03-08 11:25:40 +01:00 committed by GitHub
parent 06eafb8e1f
commit efa7f88ff2

View file

@ -2,8 +2,8 @@
set -e
export DEBIAN_FRONTEND=noninteractive
userConfPath="/etc/sftp-users.conf"
userConfFinalPath="/var/run/sftp-users.conf"
userConfPath="/etc/sftp/sftp-users.conf"
userConfFinalPath="/var/run/sftp/sftp-users.conf"
function printHelp() {
echo "Add users as command arguments, STDIN or mounted in $userConfPath"