[Unit]
Description=Incus Backup Management API
After=network-online.target
Wants=network-online.target

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

[Install]
WantedBy=multi-user.target
