Systemd
Run Lunar as a systemd service on Linux hosts with a sample unit file for reliable startup, restarts, and environment configuration.
[Unit]
Description=Lunar CI Agent
After=network.target
[Service]
Type=simple
WorkingDirectory=/home/ubuntu
ExecStart=/usr/local/bin/lunar-ci-agent
EnvironmentFile=/etc/lunar.env
Restart=always
RestartSec=5
[Install]
WantedBy=multi-user.targetLast updated
