blob: 194b357319defe36f342e7e968ca2b9f425247c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/bash
set -e
# Check if the package is being purged (erased entirely including configs)
if [ -z "$DPKG_ROOT" ] && [ "$1" = "purge" ] ; then
update-rc.d fs-spring-boot-kamal remove >/dev/null
deluser --quiet fs-spring-boot-kamal || true
fi
# Reload systemd service configuration files.
systemctl daemon-reload
# postrm script must exit with 0
exit 0
|