From 5a59fa93fd4ba99e11ba7578f1a29e494ec63132 Mon Sep 17 00:00:00 2001 From: David Schmenk Date: Sat, 20 May 2017 15:11:51 -0700 Subject: [PATCH] Don't reload a2pi service --- debian/postinst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/debian/postinst b/debian/postinst index c385e57..67fb661 100755 --- a/debian/postinst +++ b/debian/postinst @@ -83,10 +83,9 @@ case "$1" in # # Add a2pi service to systemd # - if [ -f /usr/local/bin/a2pid ] ; then + if [ -f /usr/share/a2pi/a2pi.service ] && [ -x systemctl ] ; then cp /usr/share/a2pi/a2pi.service /lib/systemd/ systemctl enable a2pi - systemctl reload a2pi fi ;;