add test systemd service file
This commit is contained in:
parent
2a5618c0e5
commit
a32d393836
17
startest.service
Normal file
17
startest.service
Normal file
@ -0,0 +1,17 @@
|
||||
[Unit]
|
||||
Description=Stationslauf
|
||||
|
||||
[Service]
|
||||
User=root
|
||||
Group=root
|
||||
WorkingDirectory=/home/startest
|
||||
Environment="PORT=7002"
|
||||
Environment="RUST_LOG=info"
|
||||
Environment="TEST_VERSION=1"
|
||||
Environment="DATABASE_URL=sqlite:///home/startest/db.sqlite"
|
||||
ExecStart=/home/startest/star-test
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
x
Reference in New Issue
Block a user