Skip to content

Instantly share code, notes, and snippets.

@lynsei
Created February 19, 2025 18:14
Show Gist options
  • Save lynsei/f839d1f6521d5f00ee2bb085da5dd75c to your computer and use it in GitHub Desktop.
Save lynsei/f839d1f6521d5f00ee2bb085da5dd75c to your computer and use it in GitHub Desktop.
[fish] #runner start #gh
function .env.gh.runners -d 'Turn on Github Runner Daemons' -a do
if test -n "$do"
switch $do
case "-init"
$HOME/Documents/runner/mck/actions-runner/run.sh &
$HOME/Documents/runner/lyns/actions-runner/run.sh &
$HOME/Documents/runner/lyns/softdist/actions-runner/run.sh &
case "-exit"
pkill -f 'run.sh'
case ""
echo "You must provide a flag: -init or -exit
case "*"
echo "Flag not understood: try -init or -exit"
end
else
echo "No Flag specified: Try -init or -exit"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment