mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 07:23:13 +00:00
Update ftp_backup_identifier.sh
This commit is contained in:
@@ -1,19 +1,20 @@
|
||||
#bin/bash
|
||||
|
||||
APP_ROOT="/var/alchemy/Phraseanet"
|
||||
# APP_ROOT="/var/alchemy/Phraseanet"
|
||||
|
||||
FTP_REPO="ftp"
|
||||
BACKUP_REPO="backup"
|
||||
|
||||
cd "/var/alchemy/Phraseanet"
|
||||
|
||||
if [ ! -z "$STACK_NAME" ]; then
|
||||
touch $FTP_REPO"/ftp_enabled_"$STACK_NAME
|
||||
echo "File created in : "$FTP_REPO"/"$FTP_REPO"/ftp_enabled_"$STACK_NAME
|
||||
touch $FTP_REPO"/ftp_enable_"$STACK_NAME
|
||||
echo "File created in : "$FTP_REPO"/ftp_enable_"$STACK_NAME
|
||||
fi
|
||||
|
||||
if [ ! -z "$STACK_NAME" ]; then
|
||||
touch $BACKUP_REPO"/backup_repo_"$STACK_NAME
|
||||
echo "File created in : "$APP_ROOT"/"$BACKUP_REPO"/backup_repo_"$STACK_NAME
|
||||
echo "File created in : "$BACKUP_REPO"/backup_repo_"$STACK_NAME
|
||||
|
||||
fi
|
||||
|
||||
|
Reference in New Issue
Block a user