We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b61364e commit f1f7ea3Copy full SHA for f1f7ea3
install-postgresus.sh
@@ -101,7 +101,7 @@ fi
101
102
# Add cron job for system reboot
103
log "Setting up cron job to start PostgresUS on system reboot..."
104
-CRON_JOB="@reboot cd $INSTALL_DIR && docker-compose up -d >> $INSTALL_DIR/postgresus-startup.log 2>&1"
+CRON_JOB="@reboot cd $INSTALL_DIR && docker compose up -d >> $INSTALL_DIR/postgresus-startup.log 2>&1"
105
(crontab -l 2>/dev/null | grep -v "$INSTALL_DIR.*docker-compose"; echo "$CRON_JOB") | crontab -
106
log "Cron job configured successfully"
107
0 commit comments