#!/bin/bash set -e case "$1" in remove|deconfigure) # Stop the service if it's running if [ -d /run/systemd/system ]; then if systemctl is-active naas >/dev/null 2>&1; then systemctl stop naas || true fi fi ;; esac #DEBHELPER# exit 0