modify sonarqube

This commit is contained in:
2026-01-21 12:31:24 +00:00
parent 94e565257d
commit 7b7e171ca3
1725 changed files with 383274 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
[Unit]
Description=AtlasOS - Calypso API Service
Documentation=https://github.com/atlasos/calypso
After=network.target postgresql.service
Requires=postgresql.service
[Service]
Type=simple
User=calypso
Group=calypso
WorkingDirectory=/opt/calypso/backend
ExecStart=/opt/calypso/backend/bin/calypso-api -config /etc/calypso/config.yaml
Restart=always
RestartSec=10
StandardOutput=journal
StandardError=journal
SyslogIdentifier=calypso-api
# Security hardening
NoNewPrivileges=true
PrivateTmp=true
ProtectSystem=strict
ProtectHome=true
ReadWritePaths=/var/lib/calypso /var/log/calypso
# Resource limits
LimitNOFILE=65536
LimitNPROC=4096
# Environment
Environment="CALYPSO_LOG_LEVEL=info"
Environment="CALYPSO_LOG_FORMAT=json"
[Install]
WantedBy=multi-user.target