File: postrm

package info (click to toggle)
prometheus-snmp-exporter 0.19.0%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,140 kB
  • sloc: makefile: 225; sh: 50
file content (15 lines) | stat: -rw-r--r-- 318 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-snmp-exporter
# Script executed after the package is removed.

set -e

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

#DEBHELPER#