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]
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