2023-03-04 11:52:11 +01:00
|
|
|
[Unit]
|
|
|
|
Description=Rot
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
User=root
|
|
|
|
Group=root
|
2024-03-15 09:54:36 +01:00
|
|
|
WorkingDirectory=/home/rowing
|
2023-03-04 11:52:11 +01:00
|
|
|
Environment="ROCKET_ENV=prod"
|
|
|
|
Environment="ROCKET_ADDRESS=127.0.0.1"
|
|
|
|
Environment="ROCKET_PORT=8001"
|
2023-07-31 12:46:14 +02:00
|
|
|
Environment="RUST_LOG=info"
|
2024-03-15 09:54:36 +01:00
|
|
|
ExecStart=/home/rowing/rot
|
|
|
|
Restart=always
|
|
|
|
RestartSec=10
|
|
|
|
|
2023-03-04 11:52:11 +01:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|