From 875fa5a459b756a314e6c1be9d95719795946c79 Mon Sep 17 00:00:00 2001 From: MiranDaniel Date: Sat, 5 Feb 2022 19:50:32 +0100 Subject: [PATCH] Create wall.service --- etc/wall.service | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 etc/wall.service 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