#!/bin/sh set -e # Reload systemd after unit file removal if command -v systemctl > /dev/null 2>&1; then systemctl daemon-reload || true fi