thingsboard/packaging/java/scripts/control/rpm/prerm

7 lines
162 B
Plaintext
Raw Permalink Normal View History

2026-01-19 11:50:37 +08:00
#!/bin/sh
if [ $1 -eq 0 ] ; then
# Package removal, not upgrade
systemctl --no-reload disable --now ${pkg.name}.service > /dev/null 2>&1 || :
fi