Skip to main content
Every project in AerosPanel is a native systemd service. The panel writes a unit file to /etc/systemd/system/<service_name>.service, runs systemctl daemon-reload, and controls it with systemctl start, stop, restart, enable, and disable. Nothing runs in a container.
Projects list

Projects page with service status, RAM, and CPU time.

Templates

Pick a template in Projects > New project. It fills in defaults that you can edit before you save.
For Discord bots, Express or Fastify APIs, and TypeScript services. Use /usr/bin/node index.js for plain JavaScript projects without a build step.
For discord.py or Telegram bots, FastAPI, or Flask apps with a local virtualenv in .venv. {{WORK_DIR}} is replaced with the working directory. For FastAPI, use {{WORK_DIR}}/.venv/bin/uvicorn main:app --host 0.0.0.0 --port 8000.
Builds a Vite, React, or Astro site and serves dist/ with Python’s built-in HTTP server. Swap ExecStart for Caddy or another static server if you prefer.
For Paper, Fabric, or Purpur servers and Spring Boot JARs. Keep MemoryMax= above -Xmx so JVM overhead does not trigger OOM kills.
For Go or Rust binaries, Bun apps, or any Linux executable. Give an absolute path and arguments.

Project fields

PREVIEW_.service shows the unit before you save. It calls POST /api/templates/preview, which validates the same fields without writing anything. The checkbox Write /etc/systemd/system/<service>.service and reload systemd is on by default. Turn it off to register a project for a unit you manage yourself.

Starter presets

The new project form also has presets for common self-hosted apps. They fill in the fields only. Install the binary yourself first.

Generated unit

A Node.js project named Discord Bot with service name discord-bot, MemoryMax=256M, and User=bot produces:
/etc/systemd/system/discord-bot.service
EnvironmentFile=- loads <work_dir>/.env when it exists. Edit that file from the .env editor.
Set User= to a dedicated unprivileged account. Without it, the service runs as root, like the panel. Create the user first, for example with sudo useradd --system --home /opt/discord-bot bot, and make sure it can read the working directory.

Reserved service names

The panel refuses to create or control these units: aeros-panel, ssh, sshd, systemd, tailscaled, cloudflared, docker, ufw, cron, dbus, and any name starting with systemd-.

Blocked working directories

The working directory cannot be / or sit under /etc, /bin, /sbin, /usr, /lib, /lib64, /boot, /dev, /proc, /sys, /run, or /var/lib. Paths are normalized first, so /opt/app/../../etc is rejected too.

Controls

Select a project to open its terminal and toolbar:
  • Start, Stop, and Restart: systemctl start|stop|restart <service>.
  • Toggle Boot Autostart: systemctl enable|disable <service>, so the service starts at boot.
  • Terminal: while a project is selected, a WebSocket runs journalctl -u <service> -f -n 100 and streams its output. Deploy and rollback output appears in the same terminal. The journalctl process is killed when the socket closes.
Project terminal

Live journal output in the project terminal.

To delete a project, call DELETE /api/projects/:id. Add ?removeUnit=1 to also stop, disable, and delete its unit file. Its Caddy route and failure alert drop-in are removed in both cases.

RAM and CPU metrics

When GET /api/projects runs, AerosPanel reads each unit’s counters with one call:
  • RAM is MemoryCurrent, the cgroup memory of the service in bytes.
  • CPU is CPUUsageNSec, the total CPU time used since the service started, in nanoseconds. It is a running total, not a percentage.
Both are null when the service is not active or when systemd does not report them (for example, if memory or CPU accounting is off). Nothing is sampled in the background. The numbers are read only when the Projects page loads or refreshes.