Skip to content

Commit

Permalink
modify and update service start order
Browse files Browse the repository at this point in the history
  • Loading branch information
compgeniuses committed Jun 5, 2024
1 parent 515b590 commit 2b21a7c
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion imageroot/systemd/user/erp-next-backend.service
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[Unit]
Description=Podman erp-next-backend.service
Requires=erp-next.service
After=erp-next.service
After=erp-next.service erp-next-mariadb.service

[Service]
Environment=PODMAN_SYSTEMD_UNIT=%n
Expand Down
2 changes: 1 addition & 1 deletion imageroot/systemd/user/erp-next-configurator.service
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[Unit]
Description=Podman erp-next-configurator.service
Requires=erp-next.service
After=erp-next.service erp-next-backend.service
After=erp-next.service erp-next-mariadb.service erp-next-backend.service

[Service]
Environment=PODMAN_SYSTEMD_UNIT=%n
Expand Down
2 changes: 1 addition & 1 deletion imageroot/systemd/user/erp-next-create-site.service
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[Unit]
Description=Podman erp-next-create-site.service
Requires=erp-next.service
After=erp-next.service erp-next-configurator.service
After=erp-next.service erp-next-mariadb.service erp-next-backend.service erp-next-configurator.service

[Service]
Environment=PODMAN_SYSTEMD_UNIT=%n
Expand Down
2 changes: 1 addition & 1 deletion imageroot/systemd/user/erp-next-frontend.service
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[Unit]
Description=Podman erp-next-frontend.service
Requires=erp-next.service
After=erp-next.service erp-next-backend.service
After=erp-next.service erp-next-mariadb.service erp-next-backend.service erp-next-configurator.service erp-next-create-site.service

[Service]
Environment=PODMAN_SYSTEMD_UNIT=%n
Expand Down
2 changes: 1 addition & 1 deletion imageroot/systemd/user/erp-next-queue-long.service
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[Unit]
Description=Podman erp-next-queue-long.service
Requires=erp-next.service
After=erp-next.service erp-next-backend.service
After=erp-next.service erp-next-mariadb.service erp-next-backend.service erp-next-configurator.service erp-next-create-site.service

[Service]
Environment=PODMAN_SYSTEMD_UNIT=%n
Expand Down
2 changes: 1 addition & 1 deletion imageroot/systemd/user/erp-next-queue-short.service
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[Unit]
Description=Podman erp-next-queue-short.service
Requires=erp-next.service
After=erp-next.service erp-next-backend.service
After=erp-next.service erp-next-mariadb.service erp-next-backend.service erp-next-configurator.service erp-next-create-site.service erp-next-queue-long.service

[Service]
Environment=PODMAN_SYSTEMD_UNIT=%n
Expand Down
2 changes: 1 addition & 1 deletion imageroot/systemd/user/erp-next-redis-queue.service
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Description=Podman erp-next-redis-queue.service
Requires=erp-next.service
After=erp-next.service

Before=erp-next.mariadb.service
[Service]
Environment=PODMAN_SYSTEMD_UNIT=%n
Restart=always
Expand Down
2 changes: 1 addition & 1 deletion imageroot/systemd/user/erp-next-scheduler.service
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[Unit]
Description=Podman erp-next-scheduler.service
Requires=erp-next.service
After=erp-next.service erp-next-frontend.service
After=erp-next.service erp-next-mariadb.service erp-next-backend.service erp-next-configurator.service erp-next-create-site.service erp-next-queue-long.service erp-next-queue-short.service

[Service]
Environment=PODMAN_SYSTEMD_UNIT=%n
Expand Down
2 changes: 1 addition & 1 deletion imageroot/systemd/user/erp-next-websocket.service
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[Unit]
Description=Podman websocket.service
Requires=erp-next.service
After=erp-next.service erp-next-frontend.service
After=erp-next.service erp-next-mariadb.service erp-next-backend.service erp-next-configurator.service erp-next-create-site.service erp-next-queue-long.service erp-next-queue-short.service erp-next-scheduler.service

[Service]
Environment=PODMAN_SYSTEMD_UNIT=%n
Expand Down

0 comments on commit 2b21a7c

Please sign in to comment.