kopia lustrzana https://github.com/bugout-dev/moonstream
16 wiersze
460 B
INI
16 wiersze
460 B
INI
![]() |
[Unit]
|
||
|
Description=Engine API service
|
||
|
After=network.target
|
||
|
StartLimitIntervalSec=300
|
||
|
StartLimitBurst=3
|
||
|
|
||
|
[Service]
|
||
|
WorkingDirectory=/home/ubuntu/api/engineapi
|
||
|
EnvironmentFile=/home/ubuntu/engine-secrets/app.env
|
||
|
Restart=on-failure
|
||
|
RestartSec=15s
|
||
|
ExecStart=/home/ubuntu/engine-env/bin/uvicorn --proxy-headers --forwarded-allow-ips='127.0.0.1' --host 127.0.0.1 --port 7191 --workers 8 engineapi.api:app
|
||
|
SyslogIdentifier=engine
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|