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