github.com/ethersphere/bee/v2@v2.2.0/packaging/rpm/preun (about) 1 systemctl --no-reload stop --now bee.service &>/dev/null || : 2 if [ $1 -eq 0 ] ; then 3 # Package removal, not upgrade 4 systemctl --no-reload disable --now bee.service &>/dev/null || : 5 fi