Merge pull request #448 from unpoller/fix-systemd-install

Fixes service location for deb, fixes old links to docker image
This commit is contained in:
Cody Lee 2022-12-03 17:52:48 -05:00 committed by GitHub
commit 5f821d4a71
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View File

@ -286,7 +286,7 @@ nfpms:
# systemd service # systemd service
- src: init/systemd/unpoller.service - src: init/systemd/unpoller.service
dst: /lib/systemd/service/unpoller.service dst: /etc/systemd/service/unpoller.service
type: config type: config
# freebsd rc service # freebsd rc service

View File

@ -26,7 +26,7 @@ spec:
spec: spec:
containers: containers:
- name: unifi-poller - name: unifi-poller
image: golift/unifi-poller:latest image: ghcr.io/unpoller/unpoller:latest
ports: ports:
- containerPort: 9130 - containerPort: 9130
name: tcp name: tcp

View File

@ -35,7 +35,7 @@ services:
unifi-poller: unifi-poller:
restart: always restart: always
image: golift/unifi-poller:latest image: ghcr.io/unpoller/unpoller:${POLLER_TAG}
environment: environment:
- UP_INFLUXDB_USER=${INFLUXDB_ADMIN_USER} - UP_INFLUXDB_USER=${INFLUXDB_ADMIN_USER}
- UP_INFLUXDB_PASS=${INFLUXDB_ADMIN_PASSWORD} - UP_INFLUXDB_PASS=${INFLUXDB_ADMIN_PASSWORD}