Update config, among other things improve batstat
This commit is contained in:
parent
77214e5f5e
commit
d86ef1c7b9
5 changed files with 61 additions and 4 deletions
|
@ -62,12 +62,12 @@ sv-manage() {
|
|||
case "$action" in
|
||||
add)
|
||||
for service in "$@"; do
|
||||
ln -s /etc/sv/${service:s#/##} /var/service
|
||||
ln -s ${SVDIR_TEMPLATES:-/etc/sv}/${service:s#/##} ${SVDIR:-/var/service}
|
||||
done
|
||||
;;
|
||||
remove|rm)
|
||||
for service in "$@"; do
|
||||
rm /var/service/${service:s#/##}
|
||||
rm ${SVDIR:-/var/service}/${service:s#/##}
|
||||
done
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue