File: postrm

package info (click to toggle)
prometheus-pushgateway 0.3.1%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,272 kB
  • ctags: 333
  • sloc: makefile: 75; sh: 64
file content (17 lines) | stat: -rw-r--r-- 428 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/sh
# postrm script for prometheus-pushgateway
# Script executed after the package is removed.

set -e

case "$1" in
  purge)
        rm -rf /var/log/prometheus/prometheus-pushgateway.log \
            /var/log/prometheus/prometheus-pushgateway.log.* \
            /var/lib/prometheus/pushgateway.data \
            /var/run/prometheus/prometheus-pushgateway.pid
	# We do NOT remove the system user.
	;;
esac

#DEBHELPER#