17 lines
306 B
SYSTEMD
17 lines
306 B
SYSTEMD
|
[Unit]
|
||
|
Description=Rot
|
||
|
|
||
|
[Service]
|
||
|
User=root
|
||
|
Group=root
|
||
|
WorkingDirectory=/home/k004373/rot
|
||
|
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
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|
||
|
|