mirror of
https://github.com/atmoz/sftp.git
synced 2024-11-17 12:51:33 -05:00
Move user file to /etc/sftp/ directory
This allows for mounting with ConfigMap or Secrets in Kubernetes
This commit is contained in:
parent
06eafb8e1f
commit
efa7f88ff2
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue