[Unit]
Description=Incus Backup Node Agent
After=network-online.target
Wants=network-online.target

[Service]
Type=simple
WorkingDirectory=/opt/incus-backup-ui/backend
Environment=NODE_ENV=production
ExecStart=/usr/bin/npm start
Restart=on-failure
RestartSec=5
User=root

[Install]
WantedBy=multi-user.target
