Better systemd service dependencies declaration

pull/518/head
Piero Toffanin 2018-09-08 18:25:50 -04:00
rodzic 69640b7c77
commit a5aa6069a1
4 zmienionych plików z 7 dodań i 3 usunięć

Wyświetl plik

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

Wyświetl plik

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

Wyświetl plik

@ -1,6 +1,7 @@
[Unit]
Description=Start WebODM OpenDroneMap Service Container
Requires=docker.service
After=docker.service
[Service]
Type=forking

Wyświetl plik

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