mirror of
https://github.com/unpoller/unpoller.git
synced 2026-10-17 20:03:53 +02:00
better upgrade support in packages.
This commit is contained in:
@@ -2,5 +2,9 @@
|
||||
|
||||
# This file is used by rpm and deb packages. FPM use.
|
||||
|
||||
if [ "$1" = "upgrade" ] || [ "$1" = "1" ] ; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
systemctl stop unifi-poller
|
||||
systemctl disable unifi-poller
|
||||
|
||||
Reference in New Issue
Block a user