Skip to content

Commit

Permalink
change install paths
Browse files Browse the repository at this point in the history
  • Loading branch information
kmulvey committed Apr 3, 2024
1 parent 8fc0416 commit 2ef8a6c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,11 @@ nfpms:

changelog: ./changelog.yml

contents:
# Basic file that applies to all packagers
- src: radeon_exporter.service
dst: /etc/systemd/system/radeon_exporter.service

# Custom configuration applied only to the RPM packager.
rpm:
group: root
Expand Down
4 changes: 2 additions & 2 deletions radeon_exporter.service
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ After=network-online.target
User=prometheus
Group=prometheus
Restart=on-failure
ExecStart=/opt/radeon_exporter
ExecStart=/usr/bin/radeon_exporter

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

0 comments on commit 2ef8a6c

Please sign in to comment.