mirror of
https://github.com/actions/runner.git
synced 2025-12-18 00:07:08 +00:00
more sudo
This commit is contained in:
@@ -64,6 +64,10 @@ if [ -z "$REMOVE_TOKEN" ]; then fatal "Failed to get a token"; fi
|
|||||||
echo
|
echo
|
||||||
echo "Uninstall the service ..."
|
echo "Uninstall the service ..."
|
||||||
pushd ./runner
|
pushd ./runner
|
||||||
|
prefix=""
|
||||||
|
if [ "${runner_plat}" == "linux" ]; then
|
||||||
|
prefix="sudo "
|
||||||
|
fi
|
||||||
${prefix}./svc.sh stop
|
${prefix}./svc.sh stop
|
||||||
${prefix}./svc.sh uninstall
|
${prefix}./svc.sh uninstall
|
||||||
./config.sh remove --token $REMOVE_TOKEN
|
./config.sh remove --token $REMOVE_TOKEN
|
||||||
|
|||||||
Reference in New Issue
Block a user