From 84f99d31c71b67673c5432d122029f73298a1b89 Mon Sep 17 00:00:00 2001 From: Anthony Date: Fri, 27 Oct 2023 22:45:46 +0800 Subject: [PATCH] Fix responses --- manifest.jps | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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: |-