You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 21, 2025. It is now read-only.
curl -o /etc/systemd/system/rce-engine.service https://raw.githubusercontent.com/toolkithub/rce-engine/main/systemd/rce-engine.service || error "Failed to download rce-engine systemd service file"
87
87
88
88
# Prompt user to set the API access token
89
-
read -p "Enter an API access token you'd like to use for rce-engine X-Access-Token Header: " api_access_token
89
+
read -r -p "Enter an API access token you'd like to use for rce-engine X-Access-Token Header: " api_access_token
90
90
91
91
# Update rce-engine.service with the API access token
92
92
sudo sed -i "s/Environment=\"API_ACCESS_TOKEN=some-secret-token\"/Environment=\"API_ACCESS_TOKEN=${api_access_token}\"/" /etc/systemd/system/rce-engine.service || error "Failed to update rce-engine.service with API access token"
@@ -100,11 +100,50 @@ sudo systemctl start rce-engine.service || error "Failed to start rce-engine ser
100
100
# This phase of the script installs the rce-images for supported languages interactively.
101
101
# see https://github.com/toolkithub/rce-images
0 commit comments