forked from Ruderverein-Donau-Linz/rowt
first draft of normannen deployment
This commit is contained in:
18
normannen.service
Normal file
18
normannen.service
Normal file
@ -0,0 +1,18 @@
|
||||
[Unit]
|
||||
Description=Normannen
|
||||
|
||||
[Service]
|
||||
User=root
|
||||
Group=root
|
||||
WorkingDirectory=/home/normannen
|
||||
Environment="ROCKET_ENV=prod"
|
||||
Environment="ROCKET_ADDRESS=127.0.0.1"
|
||||
Environment="ROCKET_PORT=9001"
|
||||
Environment="RUST_LOG=info"
|
||||
ExecStart=/home/normannen/rot
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Reference in New Issue
Block a user