mirror of
https://github.com/AeThex-Corporation/AeThex-OS.git
synced 2026-04-17 22:27:19 +00:00
- Fix corrupted kernel/initrd extraction section - Fix unmount commands (proc/sys/dev) - Fix isolinux and GRUB configuration syntax - Fix mksquashfs error handling - Add mobile app build and integration - Create systemd service for mobile server - Update Firefox kiosk to launch mobile UI - Add Capacitor Android build copying - Improve GitLab CI error handling (fail on missing tools) - Update completion messages with mobile features This resolves ISO build failures and properly packages the Ingress-style mobile UI into the bootable Linux distribution.
38 lines
746 B
Desktop File
38 lines
746 B
Desktop File
[Unit]
|
|
Description=AeThex Mobile Server
|
|
Documentation=https://github.com/AeThex-Corporation/AeThex-OS
|
|
After=network-online.target
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=aethex
|
|
Group=aethex
|
|
WorkingDirectory=/opt/aethex-desktop
|
|
Environment="NODE_ENV=production"
|
|
Environment="PORT=5000"
|
|
|
|
# Start the Node.js server
|
|
ExecStart=/usr/bin/npm start
|
|
|
|
# Restart policy
|
|
Restart=always
|
|
RestartSec=10
|
|
StartLimitInterval=200
|
|
StartLimitBurst=5
|
|
|
|
# Security
|
|
NoNewPrivileges=true
|
|
PrivateTmp=true
|
|
ProtectSystem=strict
|
|
ProtectHome=read-only
|
|
ReadWritePaths=/opt/aethex-desktop
|
|
ReadWritePaths=/home/aethex/.local/share/aethex
|
|
|
|
# Logging
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
SyslogIdentifier=aethex-mobile
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|