Fix systemd service file

This commit is contained in:
Thomas Klaehn 2021-04-04 08:50:25 +02:00
parent 6c02fd1bca
commit 8274c5cd1a

View File

@ -1,10 +1,11 @@
[Unit] [Unit]
Description=Greenhouse service Description=Greenhouse service
After=multi-user.target After=multi-user.target
[Service] [Service]
Type=idle Type=idle
ExecStart=/usr/bin/python3 -m greenhouse ExecStart=gunicorn --bind 0.0.0.0:80 greenhouse:app
[Install]
WantedBy=multi-user.target
[Install]
WantedBy=multi-user.target