diff --git a/beeper/etc/containers/systemd/ask-js/ask-js.container b/beeper/etc/containers/systemd/ask-js/ask-js.container index f1db162..e8b1822 100644 --- a/beeper/etc/containers/systemd/ask-js/ask-js.container +++ b/beeper/etc/containers/systemd/ask-js/ask-js.container @@ -1,7 +1,7 @@ [Unit] Description=Ask.JS After=postgresql.service -Requires=postgresql.service +BindsTo=postgresql.service [Container] Image=ghcr.io/ihateblueb/ask-js:dev diff --git a/beeper/etc/containers/systemd/ejabberd/ejabberd.container b/beeper/etc/containers/systemd/ejabberd/ejabberd.container index ebcd227..c7c7839 100644 --- a/beeper/etc/containers/systemd/ejabberd/ejabberd.container +++ b/beeper/etc/containers/systemd/ejabberd/ejabberd.container @@ -1,6 +1,6 @@ [Unit] Description=ejabberd -Requires=postgresql.service +BindsTo=postgresql.service After=postgresql.service [Container] diff --git a/beeper/etc/containers/systemd/forgejo/forgejo.container b/beeper/etc/containers/systemd/forgejo/forgejo.container index 1c4aefc..f9fe1d1 100644 --- a/beeper/etc/containers/systemd/forgejo/forgejo.container +++ b/beeper/etc/containers/systemd/forgejo/forgejo.container @@ -1,7 +1,7 @@ [Unit] Description=Forgejo After=postgresql.service -Requires=postgresql.service +BindsTo=postgresql.service [Container] Image=codeberg.org/forgejo/forgejo:13 diff --git a/beeper/etc/containers/systemd/freshrss/freshrss.container b/beeper/etc/containers/systemd/freshrss/freshrss.container index c07efdf..fbdafe3 100644 --- a/beeper/etc/containers/systemd/freshrss/freshrss.container +++ b/beeper/etc/containers/systemd/freshrss/freshrss.container @@ -1,6 +1,6 @@ [Unit] Description=FreshRSS -Requires=postgresql.service +BindsTo=postgresql.service After=postgresql.service [Container] diff --git a/beeper/etc/containers/systemd/iceshrimp/iceshrimp.container b/beeper/etc/containers/systemd/iceshrimp/iceshrimp.container index c501457..a1a5dcf 100644 --- a/beeper/etc/containers/systemd/iceshrimp/iceshrimp.container +++ b/beeper/etc/containers/systemd/iceshrimp/iceshrimp.container @@ -1,6 +1,6 @@ [Unit] Description=Iceshrimp.NET -Requires=postgresql.service +BindsTo=postgresql.service After=postgresql.service [Container] diff --git a/beeper/etc/containers/systemd/mailserver/mailserver.container b/beeper/etc/containers/systemd/mailserver/mailserver.container index dd2258a..5073130 100644 --- a/beeper/etc/containers/systemd/mailserver/mailserver.container +++ b/beeper/etc/containers/systemd/mailserver/mailserver.container @@ -26,7 +26,7 @@ HealthStartPeriod=1m Notify=healthy [Service] -Restart=on-success +Restart=always [Install] WantedBy=default.target diff --git a/beeper/etc/containers/systemd/mastodon/mastodon-ingress.container b/beeper/etc/containers/systemd/mastodon/mastodon-ingress.container index d0b81e5..7880592 100644 --- a/beeper/etc/containers/systemd/mastodon/mastodon-ingress.container +++ b/beeper/etc/containers/systemd/mastodon/mastodon-ingress.container @@ -1,6 +1,6 @@ [Unit] Description=Mastodon Ingress Service -Requires=postgresql.service mastodon-dfdb.service +BindsTo=postgresql.service mastodon-dfdb.service After=postgresql.service mastodon-dfdb.service [Container] diff --git a/beeper/etc/containers/systemd/mastodon/mastodon-sidekiq.container b/beeper/etc/containers/systemd/mastodon/mastodon-sidekiq.container index 7326846..62c5c80 100644 --- a/beeper/etc/containers/systemd/mastodon/mastodon-sidekiq.container +++ b/beeper/etc/containers/systemd/mastodon/mastodon-sidekiq.container @@ -1,6 +1,6 @@ [Unit] Description=Mastodon Sidekiq Service -Requires=postgresql.service mastodon-dfdb.service +BindsTo=postgresql.service mastodon-dfdb.service After=postgresql.service mastodon-dfdb.service [Container] diff --git a/beeper/etc/containers/systemd/mastodon/mastodon-streaming.container b/beeper/etc/containers/systemd/mastodon/mastodon-streaming.container index 177c7ea..8f8a5dc 100644 --- a/beeper/etc/containers/systemd/mastodon/mastodon-streaming.container +++ b/beeper/etc/containers/systemd/mastodon/mastodon-streaming.container @@ -1,6 +1,6 @@ [Unit] Description=Mastodon Streaming Service -Requires=postgresql.service mastodon-dfdb.service +BindsTo=postgresql.service mastodon-dfdb.service After=postgresql.service mastodon-dfdb.service [Container] diff --git a/beeper/etc/containers/systemd/mastodon/mastodon-web.container b/beeper/etc/containers/systemd/mastodon/mastodon-web.container index 10c6167..6a294ca 100644 --- a/beeper/etc/containers/systemd/mastodon/mastodon-web.container +++ b/beeper/etc/containers/systemd/mastodon/mastodon-web.container @@ -1,6 +1,6 @@ [Unit] Description=Mastodon Web Service -Requires=postgresql.service mastodon-dfdb.service +BindsTo=postgresql.service mastodon-dfdb.service After=postgresql.service mastodon-dfdb.service [Container] diff --git a/beeper/etc/containers/systemd/searxng/searxng.container b/beeper/etc/containers/systemd/searxng/searxng.container index 2f7395a..486ffac 100644 --- a/beeper/etc/containers/systemd/searxng/searxng.container +++ b/beeper/etc/containers/systemd/searxng/searxng.container @@ -1,7 +1,7 @@ [Unit] Description=SearXNG After=searxng-dfdb.service -Requires=searxng-dfdb.service +BindsTo=searxng-dfdb.service [Container] Image=docker.io/searxng/searxng:latest diff --git a/beeper/etc/containers/systemd/sharkey/sharkey-activity.container b/beeper/etc/containers/systemd/sharkey/sharkey-activity.container index 54e8fe9..167e636 100644 --- a/beeper/etc/containers/systemd/sharkey/sharkey-activity.container +++ b/beeper/etc/containers/systemd/sharkey/sharkey-activity.container @@ -1,7 +1,7 @@ [Unit] Description=Sharkey's ActivityPub Federation service After=postgresql.service sharkey-dfdb.service -Requires=postgresql.service sharkey-dfdb.service +BindsTo=postgresql.service sharkey-dfdb.service [Container] ContainerName=sharkey-activity diff --git a/beeper/etc/containers/systemd/sharkey/sharkey-api.container b/beeper/etc/containers/systemd/sharkey/sharkey-api.container index ec3c4bd..37456c7 100644 --- a/beeper/etc/containers/systemd/sharkey/sharkey-api.container +++ b/beeper/etc/containers/systemd/sharkey/sharkey-api.container @@ -1,7 +1,7 @@ [Unit] Description=Sharkey's API and Web service After=postgresql.service sharkey-dfdb.service -Requires=postgresql.service sharkey-dfdb.service +BindsTo=postgresql.service sharkey-dfdb.service [Container] ContainerName=sharkey-api diff --git a/beeper/etc/containers/systemd/sharkey/sharkey-media.container b/beeper/etc/containers/systemd/sharkey/sharkey-media.container index fac7232..fade310 100644 --- a/beeper/etc/containers/systemd/sharkey/sharkey-media.container +++ b/beeper/etc/containers/systemd/sharkey/sharkey-media.container @@ -1,7 +1,7 @@ [Unit] Description=Sharkey's Media service After=postgresql.service sharkey-dfdb.service -Requires=postgresql.service sharkey-dfdb.service +BindsTo=postgresql.service sharkey-dfdb.service [Container] ContainerName=sharkey-media diff --git a/beeper/etc/containers/systemd/sharkey/sharkey-worker.container b/beeper/etc/containers/systemd/sharkey/sharkey-worker.container index f9e90e6..e670597 100644 --- a/beeper/etc/containers/systemd/sharkey/sharkey-worker.container +++ b/beeper/etc/containers/systemd/sharkey/sharkey-worker.container @@ -1,7 +1,7 @@ [Unit] Description=Sharkey's Worker service After=postgresql.service sharkey-dfdb.service -Requires=postgresql.service sharkey-dfdb.service +BindsTo=postgresql.service sharkey-dfdb.service [Container] ContainerName=sharkey-worker diff --git a/beeper/etc/containers/systemd/zitadel/zitadel.container b/beeper/etc/containers/systemd/zitadel/zitadel.container index a3c8073..8b592be 100644 --- a/beeper/etc/containers/systemd/zitadel/zitadel.container +++ b/beeper/etc/containers/systemd/zitadel/zitadel.container @@ -1,6 +1,6 @@ [Unit] Description=Zitadel -Requires=postgresql.service +BindsTo=postgresql.service After=postgresql.service [Container]