diff options
author | Britney Fransen <brfransen@gmail.com> | 2015-11-03 20:56:50 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2015-11-03 20:56:50 (GMT) |
commit | 875d51444ac3d01367f9fcb26da04ecf81200148 (patch) | |
tree | 21e3a9a50240e2e4a183178ef78ff789267f01d1 /abs/extra/apcupsd/apcupsd.install | |
parent | f929ba59943099fe60b634a7dfaf3fe42f1caec3 (diff) | |
download | linhes_pkgbuild-875d51444ac3d01367f9fcb26da04ecf81200148.zip linhes_pkgbuild-875d51444ac3d01367f9fcb26da04ecf81200148.tar.gz linhes_pkgbuild-875d51444ac3d01367f9fcb26da04ecf81200148.tar.bz2 |
apcupsd: update to 3.14.13
Diffstat (limited to 'abs/extra/apcupsd/apcupsd.install')
-rw-r--r-- | abs/extra/apcupsd/apcupsd.install | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/abs/extra/apcupsd/apcupsd.install b/abs/extra/apcupsd/apcupsd.install index 3f1e6b2..06eeee4 100644 --- a/abs/extra/apcupsd/apcupsd.install +++ b/abs/extra/apcupsd/apcupsd.install @@ -1,24 +1,15 @@ -# This is a default template for a post-install scriptlet. You can -# remove any functions you don't need (and this header). - -# arg 1: the new package version post_install() { add_service.sh apcupsd - /sbin/sv start apcupsd + sv start apcupsd + systemd-tmpfiles --create apcupsd.conf } -# arg 1: the new package version -# arg 2: the old package version post_upgrade() { post_install } -# arg 1: the old package version post_remove() { - /sbin/sv stop apcupsd + sv stop apcupsd remove_service.sh apcupsd } -op=$1 -shift -$op $* |