backup working systemd service files

This commit is contained in:
philipp 2023-07-31 12:46:14 +02:00
parent a40001f0ad
commit c4100e6c68
2 changed files with 4 additions and 6 deletions

View File

@ -4,13 +4,12 @@ Description=Rot
[Service] [Service]
User=root User=root
Group=root Group=root
WorkingDirectory=/home/k004373/rot WorkingDirectory=/home/k004373/rowing
Environment="ROCKET_ENV=prod" Environment="ROCKET_ENV=prod"
Environment="ROCKET_ADDRESS=127.0.0.1" Environment="ROCKET_ADDRESS=127.0.0.1"
Environment="ROCKET_PORT=8001" Environment="ROCKET_PORT=8001"
Environment="ROCKET_LOG=info" Environment="RUST_LOG=info"
ExecStart=/home/k004373/rot/target/release/rot ExecStart=/home/k004373/rowing/rot
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target

View File

@ -9,8 +9,7 @@ Environment="ROCKET_ENV=prod"
Environment="ROCKET_ADDRESS=127.0.0.1" Environment="ROCKET_ADDRESS=127.0.0.1"
Environment="ROCKET_PORT=7999" Environment="ROCKET_PORT=7999"
Environment="ROCKET_LOG=info" Environment="ROCKET_LOG=info"
ExecStart=./rot ExecStart=/home/k004373/rowing-staging/rot
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target