Files
aios/systemd/aios-orchestrator-remote-tool.service
T

23 lines
652 B
Desktop File

[Unit]
Description=AIOS minimal orchestration decision tool
After=network-online.target aios-orchestrator-gateway.service
Wants=network-online.target
[Service]
Type=simple
User=aios-orchestrator
Group=aios-orchestrator
ExecStart=/usr/bin/python3 -m services.aios_orchestrator_gateway.remote_tool_server /etc/aios-orchestrator-gateway/remote-tool.json
WorkingDirectory=/opt/aios-orchestrator-gateway/current
NoNewPrivileges=true
PrivateTmp=true
ProtectSystem=strict
ProtectHome=true
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
ReadWritePaths=/var/lib/aios-orchestrator-gateway
Restart=on-failure
RestartSec=3
[Install]
WantedBy=multi-user.target