#!/bin/bash #set -e # Stop the service if running if systemctl is-active --quiet lsyloader.service; then systemctl stop lsyloader.service fi # Disable the service systemctl disable lsyloader.service