Skip to content

Commit

Permalink
Merge pull request #484 from jsoler/jsoler-patch-1
Browse files Browse the repository at this point in the history
[-] fix `PW2_DATASTORE` environment variable in `pgwatch2-webui.service`
  • Loading branch information
pashagolub committed Jun 1, 2022
2 parents 5914d54 + 5f00fd5 commit 2091a99
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit 2091a99

Please sign in to comment.