From d746a8521a0d10c3d2821555ab1500241c2b64d7 Mon Sep 17 00:00:00 2001 From: anmol Date: Fri, 9 Nov 2018 09:29:56 +0530 Subject: [PATCH] Systemd fix and .env key fix --- conf/.env | 2 +- conf/systemd.service | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/.env b/conf/.env index 7941a55..8074ce6 100755 --- a/conf/.env +++ b/conf/.env @@ -16,4 +16,4 @@ ROCKET_ADDRESS=127.0.0.1 # Secret key used for private cookies and CSRF protection # You can generate one with `openssl rand -base64 32` -ROCKET_SECRET_KEY= __KEY__ +ROCKET_SECRET_KEY=__KEY__ diff --git a/conf/systemd.service b/conf/systemd.service index 8f61b04..16b352e 100755 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -5,7 +5,7 @@ After=network.target [Service] Type=simple User=plume -WorkingDirectory=/home/plume/Plume +WorkingDirectory=__FINALPATH__/__APP__ ExecStart=__FINALPATH__/.cargo/bin/plume TimeoutSec=30 Restart=always