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 -