1 2 3 4 5 6 7 8
#!/bin/bash SERVICE_DIR=/var/service SCRIPT_DIR=/etc/sv if [ -e $SERVICE_DIR/$1 ] then echo "removing" rm $SERVICE_DIR/$1 fi