-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b2ffe0d
commit 24da3c8
Showing
4 changed files
with
28 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
...host-metrics/perfsonar-host-metrics/unibuild-packaging/deb/perfsonar-host-metrics.install
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
apache-node_exporter.conf /etc/apache2/conf-available/ | ||
apache-perfsonar_host_exporter.conf /etc/apache2/conf-available/ | ||
exporter_opts.sh /usr/lib/perfsonar/host_metrics/ | ||
perfsonar_host_exporter /usr/lib/perfsonar/host_metrics/ | ||
perfsonar-host-exporter.service lib/systemd/system/ | ||
perfsonar_host_exporter.py /usr/lib/perfsonar/host_metrics/ | ||
host_exporter.wsgi /var/www/html/perfsonar/host_exporter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
21 changes: 21 additions & 0 deletions
21
...r-host-metrics/perfsonar-host-metrics/unibuild-packaging/deb/perfsonar-host-metrics.prerm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/sh | ||
# prerm script for perfsonar host metrics | ||
# | ||
# see: dh_installdeb(1) | ||
|
||
set -e | ||
|
||
|
||
case "$1" in | ||
remove|upgrade|deconfigure) | ||
if [ -e /usr/share/apache2/apache2-maintscript-helper ]; then | ||
. /usr/share/apache2/apache2-maintscript-helper | ||
apache2_invoke disconf apache-node_exporter | ||
apache2_invoke disconf apache-perfsonar_host_exporter | ||
fi | ||
|
||
rm -f /var/www/html/perfsonar/host_exporter/host_exporter | ||
;; | ||
esac | ||
|
||
exit 0 |