forked from norman/fusionpbx-install.sh-github-mirror
Update postgres.sh
This commit is contained in:
2
debian/resources/postgres.sh
vendored
2
debian/resources/postgres.sh
vendored
@@ -55,7 +55,7 @@ systemctl restart postgresql
|
|||||||
#enable and run the backup
|
#enable and run the backup
|
||||||
cp backup/fusionpbx-backup.sh /etc/cron.daily
|
cp backup/fusionpbx-backup.sh /etc/cron.daily
|
||||||
chmod 755 /etc/cron.daily/fusionpbx-backup.sh
|
chmod 755 /etc/cron.daily/fusionpbx-backup.sh
|
||||||
sed -i 's/zzz/$password/g' /etc/cron.daily/fusionpbx-backup.sh
|
sed -i "s/zzz/$password/g" /etc/cron.daily/fusionpbx-backup.sh
|
||||||
/etc/cron.daily/fusionpbx-backup.sh
|
/etc/cron.daily/fusionpbx-backup.sh
|
||||||
|
|
||||||
#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
|
||||||
|
|||||||
Reference in New Issue
Block a user