set NODE_ENV=production for mjolnir

This commit is contained in:
Daniel Micay 2022-07-10 17:36:16 -04:00
parent 69b0ff7bb3
commit 6835a0bffb

View File

@ -4,6 +4,7 @@ After=synapse.service
[Service]
CapabilityBoundingSet=
Environment=NODE_ENV=production
ExecStart=/usr/bin/node /opt/mjolnir/lib/index.js
IPAddressDeny=any
IPAddressAllow=localhost