use BindsTo for service that depend on psql or redis
This commit is contained in:
parent
d25b699e27
commit
5655401311
16 changed files with 16 additions and 16 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Ask.JS
|
Description=Ask.JS
|
||||||
After=postgresql.service
|
After=postgresql.service
|
||||||
Requires=postgresql.service
|
BindsTo=postgresql.service
|
||||||
|
|
||||||
[Container]
|
[Container]
|
||||||
Image=ghcr.io/ihateblueb/ask-js:dev
|
Image=ghcr.io/ihateblueb/ask-js:dev
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=ejabberd
|
Description=ejabberd
|
||||||
Requires=postgresql.service
|
BindsTo=postgresql.service
|
||||||
After=postgresql.service
|
After=postgresql.service
|
||||||
|
|
||||||
[Container]
|
[Container]
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Forgejo
|
Description=Forgejo
|
||||||
After=postgresql.service
|
After=postgresql.service
|
||||||
Requires=postgresql.service
|
BindsTo=postgresql.service
|
||||||
|
|
||||||
[Container]
|
[Container]
|
||||||
Image=codeberg.org/forgejo/forgejo:13
|
Image=codeberg.org/forgejo/forgejo:13
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=FreshRSS
|
Description=FreshRSS
|
||||||
Requires=postgresql.service
|
BindsTo=postgresql.service
|
||||||
After=postgresql.service
|
After=postgresql.service
|
||||||
|
|
||||||
[Container]
|
[Container]
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Iceshrimp.NET
|
Description=Iceshrimp.NET
|
||||||
Requires=postgresql.service
|
BindsTo=postgresql.service
|
||||||
After=postgresql.service
|
After=postgresql.service
|
||||||
|
|
||||||
[Container]
|
[Container]
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ HealthStartPeriod=1m
|
||||||
Notify=healthy
|
Notify=healthy
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Restart=on-success
|
Restart=always
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=default.target
|
WantedBy=default.target
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Mastodon Ingress Service
|
Description=Mastodon Ingress Service
|
||||||
Requires=postgresql.service mastodon-dfdb.service
|
BindsTo=postgresql.service mastodon-dfdb.service
|
||||||
After=postgresql.service mastodon-dfdb.service
|
After=postgresql.service mastodon-dfdb.service
|
||||||
|
|
||||||
[Container]
|
[Container]
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Mastodon Sidekiq Service
|
Description=Mastodon Sidekiq Service
|
||||||
Requires=postgresql.service mastodon-dfdb.service
|
BindsTo=postgresql.service mastodon-dfdb.service
|
||||||
After=postgresql.service mastodon-dfdb.service
|
After=postgresql.service mastodon-dfdb.service
|
||||||
|
|
||||||
[Container]
|
[Container]
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Mastodon Streaming Service
|
Description=Mastodon Streaming Service
|
||||||
Requires=postgresql.service mastodon-dfdb.service
|
BindsTo=postgresql.service mastodon-dfdb.service
|
||||||
After=postgresql.service mastodon-dfdb.service
|
After=postgresql.service mastodon-dfdb.service
|
||||||
|
|
||||||
[Container]
|
[Container]
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Mastodon Web Service
|
Description=Mastodon Web Service
|
||||||
Requires=postgresql.service mastodon-dfdb.service
|
BindsTo=postgresql.service mastodon-dfdb.service
|
||||||
After=postgresql.service mastodon-dfdb.service
|
After=postgresql.service mastodon-dfdb.service
|
||||||
|
|
||||||
[Container]
|
[Container]
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=SearXNG
|
Description=SearXNG
|
||||||
After=searxng-dfdb.service
|
After=searxng-dfdb.service
|
||||||
Requires=searxng-dfdb.service
|
BindsTo=searxng-dfdb.service
|
||||||
|
|
||||||
[Container]
|
[Container]
|
||||||
Image=docker.io/searxng/searxng:latest
|
Image=docker.io/searxng/searxng:latest
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Sharkey's ActivityPub Federation service
|
Description=Sharkey's ActivityPub Federation service
|
||||||
After=postgresql.service sharkey-dfdb.service
|
After=postgresql.service sharkey-dfdb.service
|
||||||
Requires=postgresql.service sharkey-dfdb.service
|
BindsTo=postgresql.service sharkey-dfdb.service
|
||||||
|
|
||||||
[Container]
|
[Container]
|
||||||
ContainerName=sharkey-activity
|
ContainerName=sharkey-activity
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Sharkey's API and Web service
|
Description=Sharkey's API and Web service
|
||||||
After=postgresql.service sharkey-dfdb.service
|
After=postgresql.service sharkey-dfdb.service
|
||||||
Requires=postgresql.service sharkey-dfdb.service
|
BindsTo=postgresql.service sharkey-dfdb.service
|
||||||
|
|
||||||
[Container]
|
[Container]
|
||||||
ContainerName=sharkey-api
|
ContainerName=sharkey-api
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Sharkey's Media service
|
Description=Sharkey's Media service
|
||||||
After=postgresql.service sharkey-dfdb.service
|
After=postgresql.service sharkey-dfdb.service
|
||||||
Requires=postgresql.service sharkey-dfdb.service
|
BindsTo=postgresql.service sharkey-dfdb.service
|
||||||
|
|
||||||
[Container]
|
[Container]
|
||||||
ContainerName=sharkey-media
|
ContainerName=sharkey-media
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Sharkey's Worker service
|
Description=Sharkey's Worker service
|
||||||
After=postgresql.service sharkey-dfdb.service
|
After=postgresql.service sharkey-dfdb.service
|
||||||
Requires=postgresql.service sharkey-dfdb.service
|
BindsTo=postgresql.service sharkey-dfdb.service
|
||||||
|
|
||||||
[Container]
|
[Container]
|
||||||
ContainerName=sharkey-worker
|
ContainerName=sharkey-worker
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Zitadel
|
Description=Zitadel
|
||||||
Requires=postgresql.service
|
BindsTo=postgresql.service
|
||||||
After=postgresql.service
|
After=postgresql.service
|
||||||
|
|
||||||
[Container]
|
[Container]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue