post_install() {
    add_service.sh apcupsd
    sv start apcupsd
	systemd-tmpfiles --create apcupsd.conf
}

post_upgrade() {
    post_install
}

post_remove() {
    sv stop apcupsd
    remove_service.sh apcupsd
}