From b1f88b682624e85b4b743343dfaaeed113b69413 Mon Sep 17 00:00:00 2001 From: name Date: Wed, 14 Aug 2024 14:39:18 +0800 Subject: pushing configs, no automated setup yet --- gunicorn1.service | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 gunicorn1.service (limited to 'gunicorn1.service') diff --git a/gunicorn1.service b/gunicorn1.service new file mode 100644 index 0000000..425c453 --- /dev/null +++ b/gunicorn1.service @@ -0,0 +1,14 @@ + +[Unit] +Description=gunicorn1 +After=network.target + +[Service] +User=www-data +Group=www-data +WorkingDirectory=/var/www +ExecStart=/usr/local/bin/gunicorn --workers 3 --bind 0.0.0.0:5000 app1:app + +[Install] +WantedBy=multi-user.target + -- cgit v1.2.3-70-g09d2