summaryrefslogtreecommitdiffstats
path: root/abs/extra/apcupsd/apcupsd.install
blob: 06eeee44891b5f0e40d5737dcf4a4acfea97e3b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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
}