Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[-] fix PW2_DATASTORE environment variable in pgwatch2-webui.service #484

Merged
merged 1 commit into from
Jun 1, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions webpy/startup-scripts/pgwatch2-webui.service
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ After=network-online.target
[Service]
Environment="PW2_WEBPORT=8080"
Environment="PW2_PGHOST=localhost"
Environment="PW2_PGDATASTORE=postgres"
Environment="PW2_DATASTORE=postgres"
Environment="PW2_PG_METRIC_STORE_CONN_STR=postgresql://pgwatch2@localhost:5432/pgwatch2_metrics"

Type=simple
Expand All @@ -22,4 +22,4 @@ ExecStart=/usr/bin/python3 /etc/pgwatch2/webpy/web.py
TimeoutStartSec=0

[Install]
WantedBy=multi-user.target
WantedBy=multi-user.target