From 69eee8fcc16d7b24b9195bbda9a5ffdd267c566e Mon Sep 17 00:00:00 2001 From: Jeff Deaton Date: Mon, 7 Oct 2019 22:00:55 -0600 Subject: [PATCH] Updates to enable and start the dump1090-fa service post install --- debian/dump1090-fa.postinst | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/debian/dump1090-fa.postinst b/debian/dump1090-fa.postinst index ed71d2d..d2698ef 100644 --- a/debian/dump1090-fa.postinst +++ b/debian/dump1090-fa.postinst @@ -82,6 +82,15 @@ case "$1" in fi fi + # enabling and starting the dump1090-fa service + echo "Unmasking the dump1090-fa service..." >&2 + systemctl unmask dump1090-fa + echo "Enabling the dump1090-fa service..." >&2 + systemctl enable dump1090-fa + echo "Starting the dump1090-fa service..." >&2 + systemctl restart dump1090-fa + + ;; abort-upgrade|abort-remove|abort-deconfigure)