Skip to content

Commit

Permalink
fix(sftpgo): enable scp command in SFTP server configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
stephdl committed Feb 10, 2025
1 parent 8bb116c commit 9665101
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imageroot/systemd/user/sftpgo.service
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ ExecStart=/usr/bin/podman run --conmon-pidfile %t/sftpgo.pid \
--volume %S/state/sftpgo.conf.d/admin.json:/etc/sftpgo/admin.json:Z \
--env SFTPGO_LOADDATA_FROM=/etc/sftpgo/admin.json \
--env SFTPGO_HTTPD__WEB_ROOT=${TRAEFIK_PATH}\
--env SFTPGO_SFTPD__ENABLED_SSH_COMMANDS=rsync \
--env SFTPGO_SFTPD__ENABLED_SSH_COMMANDS=rsync,scp \
--user 0:0 \
${SFTPGO_IMAGE}
ExecStartPost=/usr/bin/bash -c "while [[ $(curl --request GET --url http://localhost:${SFTPGO_TCP_PORT}/healthz --header 'Accept: text/plain; charset=utf-8') != ok ]]; do sleep 3 ; done"
Expand Down

0 comments on commit 9665101

Please sign in to comment.