add service + update file
This commit is contained in:
parent
68c3628e61
commit
ff78b64dfd
16
rot.service
Normal file
16
rot.service
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
[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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user