diff --git a/greenhouse.service b/greenhouse.service index a2171f9..2d5251f 100644 --- a/greenhouse.service +++ b/greenhouse.service @@ -1,10 +1,11 @@ - [Unit] - Description=Greenhouse service - After=multi-user.target +[Unit] +Description=Greenhouse service +After=multi-user.target - [Service] - Type=idle - ExecStart=/usr/bin/python3 -m greenhouse +[Service] +Type=idle +ExecStart=gunicorn --bind 0.0.0.0:80 greenhouse:app + +[Install] +WantedBy=multi-user.target - [Install] - WantedBy=multi-user.target \ No newline at end of file