[Unit] Description=Moonfire NVR After=network-online.target [Service] ExecStart=/usr/bin/moonfire-nvr run --ui-dir=/usr/lib/moonfire-nvr/ui Environment=TZ=:/etc/localtime Environment=MOONFIRE_FORMAT=google-systemd Environment=MOONFIRE_LOG=info Environment=RUST_BACKTRACE=1 Type=simple User=moonfire-nvr Nice=-20 Restart=on-abnormal CPUAccounting=true MemoryAccounting=true BlockIOAccounting=true [Install] WantedBy=multi-user.target