as admin
on the NAS:
cd $( getcfg Nomad Install_Path -f /etc/config/qpkg.conf )
nomad acl bootstrap
and record output- ensure working:
NOMAD_TOKEN=<Secret ID> nomad node status -self
- generate token for init script:
NOMAD_TOKEN=<Secret ID> ./generate-init-script-token.sh
- ensure working:
NOMAD_TOKEN=$( cat startup-shutdown-token ) nomad node status -self
unset NOMAD_TOKEN; ./nomad.sh restart
to ensure everything really works