#!/bin/bash SERVICE_DIR=/service SCRIPT_DIR=/etc/sv if [ -e $SERVICE_DIR/$1 ] then rm $SERVICE_DIR/$1 echo "removing $1" fi