Skip to content

Commit

Permalink
Merge pull request #7 from geniusdynamics/dev
Browse files Browse the repository at this point in the history
Adjust migrations order to begin before server
  • Loading branch information
compgeniuses authored Jul 13, 2024
2 parents 0fb761f + 22bc12b commit 727491e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions imageroot/systemd/user/bigcapital-migrations.service
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

[Unit]
Description=Podman bigcapital-migrations.service
Wants=bigcapital-webapp.service
After=bigcapital-webapp.service redis-app.service mongo-app.service mariadb-app.service bigcapital-server.service
Wants=mariadb-app.service
After=bigcapital.service redis-app.service mongo-app.service mariadb-app.service

[Service]
Environment=PODMAN_SYSTEMD_UNIT=%n
Expand Down
3 changes: 2 additions & 1 deletion imageroot/systemd/user/bigcapital-server.service
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
[Unit]
Description=Podman bigcapital-server.service
BindsTo=bigcapital.service
After=bigcapital.service redis-app.service mongo-app.service mariadb-app.service
Wants=bigcapital-migrations.service
After=bigcapital.service redis-app.service mongo-app.service mariadb-app.service bigcapital-migrations.service

[Service]
Environment=PODMAN_SYSTEMD_UNIT=%n
Expand Down

0 comments on commit 727491e

Please sign in to comment.