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