2026-02-25 16:14:18 +00:00
|
|
|
#!/run/current-system/sw/bin/bash
|
2026-03-05 19:17:16 +00:00
|
|
|
# with MITM
|
|
|
|
|
# export $(cat /var/run/secrets/nidus-dev-sync-env | xargs) && MITM_PROXY=http://127.0.0.1:8080 ./nidus-sync 2>&1 | tee nidus-sync.log
|
2026-03-21 05:38:42 +00:00
|
|
|
#
|
2026-03-05 19:17:16 +00:00
|
|
|
# original recipe
|
|
|
|
|
#export $(cat /var/run/secrets/nidus-dev-sync-env | xargs) && ./nidus-sync 2>&1 | tee nidus-sync.log
|
2026-03-21 05:38:42 +00:00
|
|
|
|
2026-03-05 19:17:16 +00:00
|
|
|
# force production environment
|
2026-03-21 05:38:42 +00:00
|
|
|
# export $(cat /var/run/secrets/nidus-dev-sync-env | xargs) && ./nidus-sync -prod 2>&1 | tee nidus-sync.log
|
|
|
|
|
#
|
|
|
|
|
# force production environment, but with debug logging
|
2026-03-23 12:05:37 -07:00
|
|
|
export $(cat /var/run/secrets/nidus-dev-sync-env | xargs) && \
|
|
|
|
|
export $(cat .env | xargs) && \
|
2026-04-20 22:33:20 +00:00
|
|
|
./nidus-sync -prod
|
2026-03-21 05:38:42 +00:00
|
|
|
#
|
|
|
|
|
# Use nix build output, force production environment
|
|
|
|
|
#export $(cat /var/run/secrets/nidus-dev-sync-env | xargs) && ./result/bin/nidus-sync -prod 2>&1 | tee nidus-sync.log
|