#!/bin/sh set -e # Stop service before removal if [ -d /run/systemd/system ]; then if systemctl is-active xxxigcc-proxy.service >/dev/null 2>&1; then systemctl stop xxxigcc-proxy.service fi if systemctl is-enabled xxxigcc-proxy.service >/dev/null 2>&1; then systemctl disable xxxigcc-proxy.service fi fi exit 0