浏览代码

Update postgresql.sh

FusionPBX 7 年之前
父节点
当前提交
5b5dbd7088
共有 1 个文件被更改,包括 3 次插入0 次删除
  1. 3 0
      debian/resources/postgresql.sh

+ 3 - 0
debian/resources/postgresql.sh

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