forked from bashclub/zamba-lxc-toolbox
Merge pull request #38 from bashclub/revert-37-patch-3
Revert "Update install-service.sh"
This commit is contained in:
commit
4b651877c0
@ -43,7 +43,7 @@ unzip open3a.zip
|
|||||||
rm open3a.zip
|
rm open3a.zip
|
||||||
chmod 666 system/DBData/Installation.pfdb.php
|
chmod 666 system/DBData/Installation.pfdb.php
|
||||||
chmod -R 777 specifics/
|
chmod -R 777 specifics/
|
||||||
chmod -R 777 system/Backup
|
chmod -R 777 system/Backups
|
||||||
chown -R www-data:www-data /var/www/html
|
chown -R www-data:www-data /var/www/html
|
||||||
|
|
||||||
echo "sudo -u www-data /usr/bin/php /var/www/html/plugins/Installation/backup.php; for backup in $(ls -r1 /var/www/html/system/Backup/*.gz | /bin/grep -v $(date +%Y%m%d)); do /bin/rm $backup;done" > /etc/cron.daily/open3a-backup
|
echo "sudo -u www-data /usr/bin/php /var/www/html/plugins/Installation/backup.php; for backup in $(ls -r1 /var/www/html/system/Backup/*.gz | /bin/grep -v $(date +%Y%m%d)); do /bin/rm $backup;done" > /etc/cron.daily/open3a-backup
|
||||||
|
Loading…
Reference in New Issue
Block a user