#!/usr/bin/env zsh
if [[ -z $1 ]]; then
echo "No service specified"
return 64
fi
if [[ ! -x $1 ]]; then
echo "Service does not exist in current directory"
return 1
fi
mv $1{,.old}
ln -s =sv $1
chmod -h a-w $1
zsh/functions/runit/linksv (view raw)