post_install() { systemctl enable gpm.service } post_upgrade() { pre_remove post_install } pre_remove() { systemctl stop gpm.service systemctl disable gpm.service }