25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

disable.sh 337 B

1234567891011
  1. #!/bin/sh
  2. # Make sure script is run as root.
  3. if [ "$(id -u)" != "0" ]; then
  4. echo "Must be run as root with sudo! Try: sudo ./disable.sh"
  5. exit 1
  6. fi
  7. # Disable any supervisor process that start video looper.
  8. supervisorctl stop video_looper
  9. mv /etc/supervisor/conf.d/video_looper.conf /etc/supervisor/conf.d/video_looper.conf.disabled