postrm is in socklog-run 2.1.0-8.
This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 | #!/bin/sh
set -e
test "$1" = 'purge' || exit 0
sv force-stop /etc/sv/socklog-unix /etc/sv/socklog-klog \
/etc/sv/socklog-inet /etc/sv/socklog-ucspi-tcp \
/etc/sv/socklog-notify 2>/dev/null || :
for i in unix klog inet ucspi-tcp notify; do
rm -rf /etc/sv/socklog-$i/supervise /etc/sv/socklog-$i/log/supervise
rm -rf /var/run/sv.socklog-$i /var/run/sv.socklog-$i.log
done
|