Browse Source

Update postgresql.sh

FusionPBX 6 năm trước cách đây
mục cha
commit
e7cfb2c08b
1 tập tin đã thay đổi với 6 bổ sung6 xóa
  1. 6 6
      debian/resources/postgresql.sh

+ 6 - 6
debian/resources/postgresql.sh

@@ -57,12 +57,12 @@ systemctl restart postgresql
 #/usr/sbin/service postgresql restart
 #/usr/sbin/service postgresql restart
 
 
 #install the database backup
 #install the database backup
-cp backup/fusionpbx-backup /etc/cron.daily
-cp backup/fusionpbx-maintenance /etc/cron.daily
-chmod 755 /etc/cron.daily/fusionpbx-backup
-chmod 755 /etc/cron.daily/fusionpbx-maintenance
-sed -i "s/zzz/$password/g" /etc/cron.daily/fusionpbx-backup
-sed -i "s/zzz/$password/g" /etc/cron.daily/fusionpbx-maintenance
+#cp backup/fusionpbx-backup /etc/cron.daily
+#cp backup/fusionpbx-maintenance /etc/cron.daily
+#chmod 755 /etc/cron.daily/fusionpbx-backup
+#chmod 755 /etc/cron.daily/fusionpbx-maintenance
+#sed -i "s/zzz/$password/g" /etc/cron.daily/fusionpbx-backup
+#sed -i "s/zzz/$password/g" /etc/cron.daily/fusionpbx-maintenance
 
 
 #move to /tmp to prevent a red herring error when running sudo with psql
 #move to /tmp to prevent a red herring error when running sudo with psql
 cwd=$(pwd)
 cwd=$(pwd)