mirror of
https://github.com/deuill/coreos-home-server.git
synced 2024-09-21 05:30:45 +00:00
Correct order for prosody-component-register
Compontents that intend to register against Prosody via unit files should be started completely before registration completes.
This commit is contained in:
parent
5163fd4da0
commit
b0a8100fbb
@ -1,7 +1,9 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Biboumi IRC Gateway for XMPP
|
Description=Biboumi IRC Gateway for XMPP
|
||||||
Wants=container-build@%N.service container-volume@%N.service prosody.service prosody-component-register@%N.service
|
Wants=container-build@%N.service container-volume@%N.service prosody.service prosody-component-register@%N.service
|
||||||
After=container-build@%N.service container-volume@%N.service prosody.service prosody-component-register@%N.service
|
After=container-build@%N.service container-volume@%N.service prosody.service
|
||||||
|
Before=prosody-component-register@%N.service
|
||||||
|
PropagatesStopTo=prosody-component-register@%p-%i.service
|
||||||
|
|
||||||
[Container]
|
[Container]
|
||||||
ContainerName=%N
|
ContainerName=%N
|
||||||
|
@ -1,7 +1,9 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Slidge Gateway for XMPP (%i)
|
Description=Slidge Gateway for XMPP (%i)
|
||||||
Wants=container-build@%p.service container-volume@%p-%i.service prosody.service prosody-component-register@%p-%i.service
|
Wants=container-build@%p.service container-volume@%p-%i.service prosody.service prosody-component-register@%p-%i.service
|
||||||
After=container-build@%p.service container-volume@%p-%i.service prosody.service prosody-component-register@%p-%i.service
|
After=container-build@%p.service container-volume@%p-%i.service prosody.service
|
||||||
|
Before=prosody-component-register@%p-%i.service
|
||||||
|
PropagatesStopTo=prosody-component-register@%p-%i.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=notify
|
Type=notify
|
||||||
|
Loading…
Reference in New Issue
Block a user