Ryan Strandt

04/14/2023, 5:30 PM
anyone run into issues starting prefect as a service - I can run prefect server start when logged into the Ec2 and it works fine and reads my profiles.toml but, when running under systemctl I get and Application startup failed Error saying that app.state does not have attribute services. Here is my service definition: [Unit] Description=Prefect Server [Service] User=prefect Group=prefect WorkingDirectory=/home/prefect ExecStart=/usr/local/bin/prefect server start Restart=always [Install]