diff --git a/nightscout/nightscout.spec b/nightscout/nightscout.spec index 450a897..428219d 100644 --- a/nightscout/nightscout.spec +++ b/nightscout/nightscout.spec @@ -29,7 +29,8 @@ Nightscout CGM in the cloud. if [ "$1" = 1 ]; then pushd %{nodejs_sitelib}/%{name} - /usr/bin/npm run-script generate-keys + node bin/generateRandomString.js > %{_sysconfdir}/nightscout/randomString + ln -s %{_sysconfdir}/nightscout/randomString tmp/randomString popd fi