summarylogtreecommitdiffstats
path: root/rbldnsd.install
diff options
context:
space:
mode:
authorpappy2019-01-06 03:40:31 +0200
committerpappy2019-01-06 03:40:31 +0200
commitdae7fd4bc5a008789e9171e4eebe7202e38f360a (patch)
treeee4ff4c01e9cc361229c036fa53da4d1d941768b /rbldnsd.install
downloadaur-dae7fd4bc5a008789e9171e4eebe7202e38f360a.tar.gz
initial import
Diffstat (limited to 'rbldnsd.install')
-rw-r--r--rbldnsd.install19
1 files changed, 19 insertions, 0 deletions
diff --git a/rbldnsd.install b/rbldnsd.install
new file mode 100644
index 000000000000..ed110cd63e05
--- /dev/null
+++ b/rbldnsd.install
@@ -0,0 +1,19 @@
+
+post_install()
+{
+ echo ""
+ echo "To start rbldnsd, run: systemctl start rbldnsd"
+ echo "To enable rbldnsd at boot, run: systemctl enable rbldnsd"
+ echo ""
+}
+
+post_upgrade()
+{
+ systemctl daemon-reload
+}
+
+pre_remove()
+{
+ systemctl disable --now rbldnsd
+}
+