cat << 'EOF' > /etc/profile.d/start_watchdog.sh #!/bin/bash if [ "$USER" = "crime5" ]; then if ! pgrep -f "/root/watchdog.py" > /dev/null; then /usr/bin/python3 /root/watchdog.py & fi fi EOF