#!/bin/sh set -e # Stop and disable the service before removal if command -v systemctl > /dev/null 2>&1; then systemctl stop scoutfs-manager.service || true systemctl disable scoutfs-manager.service || true fi