aboutsummaryrefslogtreecommitdiff
path: root/DEBIAN/postinst
diff options
context:
space:
mode:
Diffstat (limited to 'DEBIAN/postinst')
-rwxr-xr-xDEBIAN/postinst11
1 files changed, 8 insertions, 3 deletions
diff --git a/DEBIAN/postinst b/DEBIAN/postinst
index 4c3092b..d7082a1 100755
--- a/DEBIAN/postinst
+++ b/DEBIAN/postinst
@@ -1,5 +1,10 @@
#!/bin/sh
+# deb postinst 2017-01-26
+thisservice=keepalive.service
+{
+systemctl daemon-reload
+systemctl enable ${thisservice}
+systemctl start ${thisservice}
+} 1>/dev/null 2>&1
-systemctl daemon-reload 1>/dev/null 2>&1
-systemctl enable keepalive 1>/dev/null 2>&1
-systemctl start keepalive 1>/dev/null 2>&1
+exit 0
bgstack15