Simplify Athena operator architecture
This commit is contained in:
@@ -15,7 +15,14 @@ chmod 0644 /etc/mike-ai/athena-operator-git.pub
|
||||
install -m 0644 "$ROOT/config/athena-operator-known-hosts" \
|
||||
/etc/mike-ai/athena-operator-known-hosts
|
||||
install -d -m 0750 -o root -g 10003 /run/mike-ai-operator
|
||||
install -d -m 0700 /data/mike-ai-operator/state /data/mike-ai-operator/repository
|
||||
install -d -m 0700 /data/mike-ai-operator/state /data/mike-ai-operator/staging
|
||||
[[ -d "$ROOT/.git" ]] || {
|
||||
echo "Der laufende Stack muss ein Git-Checkout sein: $ROOT" >&2
|
||||
exit 1
|
||||
}
|
||||
# Read-only MCP containers need to traverse the stack directory. Secrets are
|
||||
# stored separately in /etc/mike-ai and are not exposed by this permission.
|
||||
chmod 0755 "$ROOT"
|
||||
install -m 0755 "$ROOT/platform/operator/athena_operatord.py" /usr/local/libexec/mike-ai-athena-operatord
|
||||
install -m 0644 "$ROOT/platform/operator/athena-operator.service" /etc/systemd/system/mike-ai-athena-operator.service
|
||||
systemctl daemon-reload
|
||||
|
||||
Reference in New Issue
Block a user