38 lines
1.1 KiB
Desktop File
38 lines
1.1 KiB
Desktop File
[Unit]
|
|
Description=AIOS Orchestrator Gateway reliability poll
|
|
After=aios-orchestrator-gateway.service
|
|
ConditionPathExists=/etc/aios-orchestrator-gateway/config.json
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
User=aios-orchestrator
|
|
Group=aios-orchestrator
|
|
SupplementaryGroups=gitops
|
|
WorkingDirectory=/opt/aios-orchestrator-gateway/current
|
|
ExecStart=/usr/bin/python3 -m services.aios_orchestrator_gateway --config /etc/aios-orchestrator-gateway/config.json --poll-once
|
|
UMask=0077
|
|
NoNewPrivileges=true
|
|
PrivateTmp=true
|
|
PrivateDevices=true
|
|
ProtectSystem=strict
|
|
ProtectHome=true
|
|
ProtectKernelTunables=true
|
|
ProtectKernelModules=true
|
|
ProtectKernelLogs=true
|
|
ProtectControlGroups=true
|
|
ProtectHostname=true
|
|
ProtectProc=invisible
|
|
ProcSubset=pid
|
|
RestrictNamespaces=true
|
|
MemoryDenyWriteExecute=true
|
|
RestrictSUIDSGID=true
|
|
LockPersonality=true
|
|
CapabilityBoundingSet=
|
|
AmbientCapabilities=
|
|
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
|
|
StateDirectory=aios-orchestrator-gateway
|
|
ReadOnlyPaths=/etc/aios-orchestrator-gateway /opt/aios-orchestrator-gateway
|
|
ReadWritePaths=/var/lib/aios-orchestrator-gateway
|
|
SystemCallFilter=@system-service
|
|
SystemCallErrorNumber=EPERM
|