[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