AeThex-OS/configs/systemd/aethex-mobile-server.service
MrPiglr 7715fba8b5 fix(linux-iso): Fix ISO build script syntax errors and mobile app integration
- 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.
2025-12-27 22:19:05 -07:00

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