File: postrm

package info (click to toggle)
prometheus-elasticsearch-exporter 1.9.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,664 kB
  • sloc: sh: 63; makefile: 37
file content (15 lines) | stat: -rw-r--r-- 345 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
# postrm script for prometheus-elasticsearch-exporter
# Script executed after the package is removed.

set -e

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

#DEBHELPER#