'Generic Commit'
This commit is contained in:
16
gitea-runner/stop.sh
Executable file
16
gitea-runner/stop.sh
Executable file
@ -0,0 +1,16 @@
|
||||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
# shellcheck disable=SC1091
|
||||
source "${AGENT_PATH}/common.sh"
|
||||
_check_required_env_vars "SERVER" "SERVICE" "GITEA_RUNNER_DIRECTORY"
|
||||
|
||||
# kill the act_runner process
|
||||
pkill -f "${GITEA_RUNNER_DIRECTORY}/act_runner"
|
||||
|
||||
echo "act_runner stopped"
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user