Minor Updates, response inconsistencies
parent
2738322276
commit
9c21c3e302
|
|
@ -30,7 +30,6 @@ usermod -aG litespeed,root $USERNAME
|
|||
chown $USERNAME:root $ROOT_DIRECTORY
|
||||
chmod 775 $ROOT_DIRECTORY
|
||||
|
||||
# Get the hostname
|
||||
HOSTNAME=$(hostname -f)
|
||||
echo "Script completed for user $USERNAME with hostname $HOSTNAME" >> /home/jelastic/add-sftp-user-addon/script_output.log
|
||||
echo "USERNAME:$USERNAME"
|
||||
|
|
|
|||
|
|
@ -11,8 +11,9 @@ settings:
|
|||
inputType: text
|
||||
name: root_directory
|
||||
caption: Root Directory
|
||||
default: "/var/www/webroot/ROOT"
|
||||
required: true
|
||||
default: "/var/www/webroot/ROOT/{username}/"
|
||||
description: "A user-specific directory will be created under this path."
|
||||
required: false
|
||||
- type: checkbox
|
||||
name: agree_creation
|
||||
caption: I agree to the creation of a folder and SFTP account.
|
||||
|
|
@ -92,13 +93,11 @@ responses:
|
|||
message:
|
||||
en: |-
|
||||
Connection Details
|
||||
|
||||
SFTP Host: ${globals.sftpHost}
|
||||
|
||||
Port: ${globals.sftpPort}
|
||||
|
||||
Login Credentials
|
||||
|
||||
Username: ${globals.username}
|
||||
|
||||
Password: ${globals.password}
|
||||
|
|
|
|||
Loading…
Reference in New Issue