atlus/atlus.service
roberts f9743bb29a Initial commit — Atlus web desktop environment for SBCs
Full-stack implementation: FastAPI backend with PAM auth, WebSocket
stats/terminal, and vanilla JS frontend with tiling desktop shell.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-14 16:53:46 -05:00

29 lines
632 B
Desktop File

[Unit]
Description=Atlus — Web Desktop Environment
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
ExecStart=/opt/atlus/venv/bin/python -m uvicorn backend.main:app --host 0.0.0.0 --port 7779
WorkingDirectory=/opt/atlus
Restart=always
RestartSec=5
User=root
# Environment
Environment=ATLUS_CONFIG_DIR=/etc/atlus
Environment=ATLUS_DATA_DIR=/var/lib/atlus
# Hardening (permissive — we need root for PAM/setuid/systemctl)
ProtectSystem=false
ProtectHome=false
NoNewPrivileges=false
# Logging
StandardOutput=journal
StandardError=journal
SyslogIdentifier=atlus
[Install]
WantedBy=multi-user.target