diff options
Diffstat (limited to 'local/.bin/hornet/svdisable')
-rwxr-xr-x | local/.bin/hornet/svdisable | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/local/.bin/hornet/svdisable b/local/.bin/hornet/svdisable new file mode 100755 index 0000000..24f779f --- /dev/null +++ b/local/.bin/hornet/svdisable @@ -0,0 +1,10 @@ +#!/bin/sh +set -eu + +svc="$1" + +svdn "$svc" +svdn "${svc}/log" +svc -x ~/.services/enabled/"$svc"/log +svc -x ~/.services/enabled/"$svc" +rm -f ~/.services/enabled/"$svc" |