26 lines
846 B
Desktop File
26 lines
846 B
Desktop File
[Unit]
|
|
Description=AIOS Silent Release Shadow Controller
|
|
After=network-online.target
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=aiman
|
|
Group=gitops
|
|
UMask=0077
|
|
Environment=AIOS_GITOPS_WRITES_ENABLED=false
|
|
Environment=AIOS_SILENT_RELEASE_EXECUTION_ENABLED=false
|
|
Environment=PYTHONDONTWRITEBYTECODE=1
|
|
ExecStart=/usr/bin/python3 /usr/libexec/aios-silent-release-shadow/current/active-runtime/app/silent_release_execution.py --state-root /var/lib/aios-silent-release-shadow --repository /data/aios-gitops/repo.git --host 127.0.0.1 --port 18891 --poll-seconds 30
|
|
Restart=on-failure
|
|
RestartSec=5
|
|
NoNewPrivileges=true
|
|
PrivateTmp=true
|
|
ProtectSystem=strict
|
|
ProtectHome=true
|
|
ReadWritePaths=/var/lib/aios-silent-release-shadow
|
|
ReadOnlyPaths=/data/aios-gitops/repo.git /usr/libexec/aios-silent-release-shadow
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|