Compare commits
No commits in common. "4836348b6cb100f07705e6392871ed2dfdd0b7d8" and "afa42cd22332d34f0bb1aed07b1771db11b0b301" have entirely different histories.
4836348b6c
...
afa42cd223
13
manifest.jps
13
manifest.jps
|
@ -26,17 +26,17 @@ globals:
|
||||||
|
|
||||||
onInstall:
|
onInstall:
|
||||||
- cmd[cp]: |-
|
- cmd[cp]: |-
|
||||||
|
sudo su
|
||||||
curl -sO https://deploy-proxy.mightybox.io/addons/add-sftp-user/raw/branch/main/add-sftp.sh
|
curl -sO https://deploy-proxy.mightybox.io/addons/add-sftp-user/raw/branch/main/add-sftp.sh
|
||||||
chmod +x add-sftp.sh
|
chmod +x add-sftp.sh
|
||||||
sudo echo -e "\nMatch User user*\nPasswordAuthentication yes" >> /etc/ssh/sshd_config
|
echo -e "\nMatch User user*\nPasswordAuthentication yes" >> /etc/ssh/sshd_config
|
||||||
sudo chown root:root /var/www/webroot/ROOT
|
chown root:root /var/www/webroot/ROOT
|
||||||
sudo chmod 755 /var/www/webroot/ROOT
|
chmod 755 /var/www/webroot/ROOT
|
||||||
- api: environment.control.ApplyNodeGroupData
|
- api: environment.control.ApplyNodeGroupData
|
||||||
nodeGroup: cp
|
nodeGroup: cp
|
||||||
data:
|
data:
|
||||||
restart: true
|
restart: true
|
||||||
- return: installSuccess
|
return: "Installed Successfully"
|
||||||
|
|
||||||
|
|
||||||
onUninstall:
|
onUninstall:
|
||||||
- cmd[cp]: rm -f ./add-sftp.sh
|
- cmd[cp]: rm -f ./add-sftp.sh
|
||||||
|
@ -47,9 +47,6 @@ actions:
|
||||||
- return: sftpSuccess
|
- return: sftpSuccess
|
||||||
|
|
||||||
responses:
|
responses:
|
||||||
installSuccess:
|
|
||||||
result: 0
|
|
||||||
message: "Installed Successfully"
|
|
||||||
sftpSuccess:
|
sftpSuccess:
|
||||||
type: success
|
type: success
|
||||||
email: |-
|
email: |-
|
||||||
|
|
Loading…
Reference in New Issue