diff --git a/service/webodm-celery.service b/service/webodm-celery.service index c0b66b8f..a2107330 100644 --- a/service/webodm-celery.service +++ b/service/webodm-celery.service @@ -1,6 +1,7 @@ [Unit] Description=Start WebODM Celery Service Container -Requires=webodm-nginx.service +Requires=webodm-gunicorn.service +After=webodm-gunicorn.service [Service] Type=simple diff --git a/service/webodm-celerybeat.service b/service/webodm-celerybeat.service index c42091d1..ccbc2255 100644 --- a/service/webodm-celerybeat.service +++ b/service/webodm-celerybeat.service @@ -1,6 +1,7 @@ [Unit] Description=Start WebODM Celery Scheduler Service Container -Requires=webodm-nginx.service +Requires=webodm-gunicorn.service +After=webodm-gunicorn.service [Service] Type=simple diff --git a/service/webodm-docker.service b/service/webodm-docker.service index 3f61bb5b..8cdec79b 100644 --- a/service/webodm-docker.service +++ b/service/webodm-docker.service @@ -1,6 +1,7 @@ [Unit] Description=Start WebODM OpenDroneMap Service Container Requires=docker.service +After=docker.service [Service] Type=forking diff --git a/service/webodm-gunicorn.service b/service/webodm-gunicorn.service index e5dade94..99be771f 100644 --- a/service/webodm-gunicorn.service +++ b/service/webodm-gunicorn.service @@ -1,6 +1,7 @@ [Unit] Description=Start WebODM Gunicorn Service Container -Requires=webodm-nginx.service +Requires=webodm-nginx.service postgresql.service +After=webodm-nginx.service postgresql.service [Service] Type=simple