diff --git a/manifest.jps b/manifest.jps index 5feba94..7daa0aa 100644 --- a/manifest.jps +++ b/manifest.jps @@ -26,6 +26,7 @@ globals: onInstall: - cmd[cp]: |- + sudo su curl -sO https://deploy-proxy.mightybox.io/addons/add-sftp-user/raw/branch/main/add-sftp.sh chmod +x add-sftp.sh echo -e "\nMatch User user*\nPasswordAuthentication yes" >> /etc/ssh/sshd_config @@ -35,7 +36,7 @@ onInstall: nodeGroup: cp data: restart: true - - return: installSuccess + return: Installation completed successfully! onUninstall: - cmd[cp]: rm -f ./add-sftp.sh @@ -46,9 +47,6 @@ actions: - return: sftpSuccess responses: - installSuccess: - result: 0 - message: "Installation completed successfully!" sftpSuccess: type: success email: |-