CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
sagemathinc

Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place.

GitHub Repository: sagemathinc/cocalc
Path: blob/master/src/dev/single/start-postgres
Views: 687
#!/usr/bin/env bash
export USER=wstein

cd $HOME
export PG_DATA=$HOME/postgres_data
 
/usr/local/bin/postgres -D $PG_DATA 2> $HOME/logs/postgres.log &