diff options
author | pappy | 2019-01-07 15:21:13 +0200 |
---|---|---|
committer | pappy | 2019-01-07 15:21:13 +0200 |
commit | 648c6baaa27437271f7186e373982b3376fc44b7 (patch) | |
tree | 225bb956cfe87c922409145516f45762b8b28475 /rbldnsd-sync.install | |
download | aur-rbldnsd-sync.tar.gz |
initial import
Diffstat (limited to 'rbldnsd-sync.install')
-rw-r--r-- | rbldnsd-sync.install | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/rbldnsd-sync.install b/rbldnsd-sync.install new file mode 100644 index 000000000000..4b60dd6b1eb0 --- /dev/null +++ b/rbldnsd-sync.install @@ -0,0 +1,20 @@ + +post_install() +{ + systemctl enable --now rbldnsd-sync.timer + echo "" + echo "Initialising DBLs" + echo "" + systemctl start rbldnsd-sync +} + +post_upgrade() +{ + systemctl daemon-reload +} + +pre_remove() +{ + systemctl disable --now rbldnsd-sync.timer +} + |