make sharkey depend on dfdb service and delay restarts
This commit is contained in:
parent
55589f0855
commit
b65b61b082
5 changed files with 29 additions and 1 deletions
|
|
@ -1,5 +1,7 @@
|
|||
[Unit]
|
||||
Description=Sharkey's ActivityPub Federation service
|
||||
Requires=sharkey-dfdb.service
|
||||
After=sharkey-dfdb.service
|
||||
|
||||
[Container]
|
||||
Image=registry.activitypub.software/transfem-org/sharkey:develop
|
||||
|
|
@ -18,3 +20,7 @@ Volume=/var/containers/sharkey/default.yml:/sharkey/.config/default.yml:ro:z
|
|||
|
||||
[Service]
|
||||
Restart=always
|
||||
RestartSec=10s
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
[Unit]
|
||||
Description=Sharkey's API and Web service
|
||||
Requires=sharkey-dfdb.service
|
||||
After=sharkey-dfdb.service
|
||||
|
||||
[Container]
|
||||
Image=registry.activitypub.software/transfem-org/sharkey:develop
|
||||
|
|
@ -17,3 +19,7 @@ Volume=/var/containers/sharkey/default.yml:/sharkey/.config/default.yml:ro:z
|
|||
|
||||
[Service]
|
||||
Restart=always
|
||||
RestartSec=10s
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
|
|
|
|||
|
|
@ -9,3 +9,7 @@ Volume=/var/containers/sharkey/dfdb:/data:z
|
|||
|
||||
[Service]
|
||||
Restart=always
|
||||
RestartSec=10s
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
[Unit]
|
||||
Description=Sharkey's Media service
|
||||
Requires=sharkey-dfdb.service
|
||||
After=sharkey-dfdb.service
|
||||
|
||||
[Container]
|
||||
Image=registry.activitypub.software/transfem-org/sharkey:develop
|
||||
|
|
@ -18,3 +20,7 @@ Volume=/var/containers/sharkey/default.yml:/sharkey/.config/default.yml:ro:z
|
|||
|
||||
[Service]
|
||||
Restart=always
|
||||
RestartSec=10s
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
|
|
|
|||
|
|
@ -1,5 +1,7 @@
|
|||
[Unit]
|
||||
Description=Sharkey's Worker service
|
||||
Requires=sharkey-dfdb.service
|
||||
After=sharkey-dfdb.service
|
||||
|
||||
[Container]
|
||||
Image=registry.activitypub.software/transfem-org/sharkey:develop
|
||||
|
|
@ -15,3 +17,7 @@ Volume=/var/containers/sharkey/default.yml:/sharkey/.config/default.yml:ro:z
|
|||
|
||||
[Service]
|
||||
Restart=always
|
||||
RestartSec=10s
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue