[Unit] Description=Photo Application After=network.target [Service] User= Group= WorkingDirectory=/var/lib/ Environment=FLASK_DEBUG=0 # apt-get install python3-gunicorn gunicorn ExecStart=/usr/bin/gunicorn3 --access-logfile '-' -b 127.0.0.1:8200 -w 1 :app Restart=always [Install] WantedBy=multi-user.target