From c4100e6c68a0c54fc2d92dc7f23347f359dfce65 Mon Sep 17 00:00:00 2001 From: philipp Date: Mon, 31 Jul 2023 12:46:14 +0200 Subject: [PATCH] backup working systemd service files --- rot.service | 7 +++---- rotstaging.service | 3 +-- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/rot.service b/rot.service index abbec21..ba8f463 100644 --- a/rot.service +++ b/rot.service @@ -4,13 +4,12 @@ Description=Rot [Service] User=root Group=root -WorkingDirectory=/home/k004373/rot +WorkingDirectory=/home/k004373/rowing Environment="ROCKET_ENV=prod" Environment="ROCKET_ADDRESS=127.0.0.1" Environment="ROCKET_PORT=8001" -Environment="ROCKET_LOG=info" -ExecStart=/home/k004373/rot/target/release/rot +Environment="RUST_LOG=info" +ExecStart=/home/k004373/rowing/rot [Install] WantedBy=multi-user.target - diff --git a/rotstaging.service b/rotstaging.service index 8091a14..7a7e252 100644 --- a/rotstaging.service +++ b/rotstaging.service @@ -9,8 +9,7 @@ Environment="ROCKET_ENV=prod" Environment="ROCKET_ADDRESS=127.0.0.1" Environment="ROCKET_PORT=7999" Environment="ROCKET_LOG=info" -ExecStart=./rot +ExecStart=/home/k004373/rowing-staging/rot [Install] WantedBy=multi-user.target -