diff options
author | Jesse Luehrs <doy@tozt.net> | 2018-03-06 03:29:52 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2018-03-06 03:48:15 -0500 |
commit | afced7ae76770a7968e9d256ad8bf6b3f147efd9 (patch) | |
tree | 637591de0c7bdab44451d014b21ab3d2fe34ed23 /bin | |
parent | 2119dfeadd57d94c5c4879779fd51f2d3769f261 (diff) | |
download | conf-afced7ae76770a7968e9d256ad8bf6b3f147efd9.tar.gz conf-afced7ae76770a7968e9d256ad8bf6b3f147efd9.zip |
move services into separate available/enabled directories
this way, switching branches won't keep randomly spinning up a bunch of
unkillable supervise processes
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/svget | 2 | ||||
-rwxr-xr-x | bin/svkill | 2 | ||||
-rwxr-xr-x | bin/svstop | 2 | ||||
-rwxr-xr-x | bin/svup | 2 | ||||
-rwxr-xr-x | bin/update_mail | 2 |
5 files changed, 5 insertions, 5 deletions
@@ -1,3 +1,3 @@ #!/bin/bash -svstat "$HOME/.services/$1" +svstat "$HOME/.services/enabled/$1" @@ -1,4 +1,4 @@ #!/bin/bash -svc -k "$HOME/.services/$1" +svc -k "$HOME/.services/enabled/$1" svget "$1" @@ -1,4 +1,4 @@ #!/bin/bash -svc -d "$HOME/.services/$1" +svc -d "$HOME/.services/enabled/$1" svget "$1" @@ -1,4 +1,4 @@ #!/bin/bash -svc -u "$HOME/.services/$1" +svc -u "$HOME/.services/enabled/$1" svget "$1" diff --git a/bin/update_mail b/bin/update_mail index 88fde5f..b909d9f 100755 --- a/bin/update_mail +++ b/bin/update_mail @@ -1,6 +1,6 @@ #!/bin/sh -stat=$(svstat "$HOME/.services/offlineimap") +stat=$(svstat "$HOME/.services/enabled/offlineimap") if echo $stat | grep -q "offlineimap: down"; then echo "no offlineimap process running" >&2 exit 1 |