diff --git a/etc/wall.service b/etc/wall.service new file mode 100644 index 0000000..30ecfcb --- /dev/null +++ b/etc/wall.service @@ -0,0 +1,15 @@ +[Unit] +Description=gunicorn daemon +After=network.target + +[Service] +User=root +Group=root +WorkingDirectory= +ExecStart=/usr/local/bin/gunicorn --bind 0.0.0.0:80 server:app --capture-output +Restart=always +RestartSec=5s + + +[Install] +WantedBy=multi-user.target