summaryrefslogtreecommitdiffstats
path: root/abs/core/runit/remove_service.sh
blob: 349f5bbaaced4a5669cd0ae1417d1c539cd8afa3 (plain)
1
2
3
4
5
6
7
8
#!/bin/bash
SERVICE_DIR=/service
SCRIPT_DIR=/etc/sv
if [ -e $SERVICE_DIR/$1 ]
then
 rm $SERVICE_DIR/$1
 echo "removing $1"
fi