blob: 99a4f6af538fbac1011e0ce8062f6c597dfd8b5b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#!/bin/sh
thisservice=keepalive.service
case "${1}" in
upgrade)
# This prerm upgrade is running because a newer version of this package is being installed.
# $2 is new-version-number
[ ]
;;
remove)
# No new package being installed. Just remove it.
systemctl stop "${thisservice}" 1>/dev/null 2>&1
systemctl disable "${thisservice}" 1>/dev/null 2>&1
;;
esac
exit 0
|