Fix startup scripts
This commit is contained in:
parent
3a03be0fb1
commit
dc3d3620b7
@ -1,2 +1,2 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
gunicorn -w 4 -b 127.0.0.1:8000 run:main
|
gunicorn -w 4 -b 0.0.0.0:8000 run:app
|
@ -12,9 +12,5 @@ def debug():
|
|||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
def main():
|
|
||||||
app.run()
|
|
||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
debug()
|
debug()
|
||||||
|
@ -1,2 +1,2 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
poetry run service.run > /var/log/athene/dt-cart-$(date +%Y-%m-%d-%H-%M-%S).log &
|
/home/athene/.local/bin/poetry run ./gunicorn.sh > /var/log/athene/dt-cart-$(date +%Y-%m-%d-%H-%M-%S).log &
|
Loading…
x
Reference in New Issue
Block a user