diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-09-07 22:49:33 +0200 |
---|---|---|
committer | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-09-07 22:49:33 +0200 |
commit | 3be1ce6cac807f5b751767495352abc676cda2fc (patch) | |
tree | 143f55a7f92646063b5bd60a2bdd1f3c8796e6f7 /host | |
parent | enable service (diff) | |
download | Rory-Open-Architecture-3be1ce6cac807f5b751767495352abc676cda2fc.tar.xz |
enable service
Diffstat (limited to 'host')
-rwxr-xr-x | host/Rory-nginx/services/containers/pluralcontactbotpoc/services/conduit.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/Rory-nginx/services/containers/pluralcontactbotpoc/services/conduit.nix b/host/Rory-nginx/services/containers/pluralcontactbotpoc/services/conduit.nix index 3351cec..a258d4d 100755 --- a/host/Rory-nginx/services/containers/pluralcontactbotpoc/services/conduit.nix +++ b/host/Rory-nginx/services/containers/pluralcontactbotpoc/services/conduit.nix @@ -21,7 +21,7 @@ wantedBy = ["conduit.service"]; # So the registration can be used by Conduit. script = '' - reg_token=`cat /dev/urandom | tr -dc a-zA-Z0-9 | fold -c 256` + reg_token=`cat /dev/urandom | tr -dc a-zA-Z0-9 | head -c 256` mkdir -p /run/systemd/system/conduit.service.d echo $reg_token > /run/conduit-registration-token echo Environment=\"CONDUIT_REGISTRATION_TOKEN=$reg_token\" > /run/systemd/system/conduit.service.d/override.conf |