From b92fec27eb528e82b44b7e15cff5282579f761cc Mon Sep 17 00:00:00 2001 From: Alex Manning Date: Fri, 26 Feb 2021 13:52:50 +0000 Subject: [PATCH] RandomString Location --- nightscout/nightscout.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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