don’t depend on matrix-synapse
This commit is contained in:
parent
3df6c52528
commit
87e006ad1c
4 changed files with 8 additions and 12 deletions
|
@ -57,8 +57,6 @@ in {
|
|||
systemd.services.mautrix-discord-genregistration = {
|
||||
description = "Mautrix-Discord Registration";
|
||||
|
||||
requiredBy = ["matrix-synapse.service"];
|
||||
before = ["matrix-synapse.service"];
|
||||
script = ''
|
||||
# Not all secrets can be passed as environment variable (yet)
|
||||
# https://github.com/tulir/mautrix-telegram/issues/584
|
||||
|
@ -107,8 +105,8 @@ in {
|
|||
systemd.services.mautrix-discord = {
|
||||
description = "Mautrix-Discord";
|
||||
wantedBy = ["multi-user.target"];
|
||||
wants = ["matrix-synapse.service" "mautrix-discord-genregistration.service"];
|
||||
after = ["matrix-synapse.service" "mautrix-discord-genregistration.service"];
|
||||
wants = ["mautrix-discord-genregistration.service"];
|
||||
after = ["mautrix-discord-genregistration.service"];
|
||||
serviceConfig = {
|
||||
Type = "simple";
|
||||
Restart = "always";
|
||||
|
|
|
@ -104,8 +104,8 @@ in {
|
|||
systemd.services.mautrix-signal = {
|
||||
description = "Mautrix-signal";
|
||||
wantedBy = ["multi-user.target"];
|
||||
wants = ["matrix-synapse.service" "mautrix-signal-genregistration.service" "signald.service"];
|
||||
after = ["matrix-synapse.service" "mautrix-signal-genregistration.service" "signald.service"];
|
||||
wants = ["mautrix-signal-genregistration.service" "signald.service"];
|
||||
after = ["mautrix-signal-genregistration.service" "signald.service"];
|
||||
serviceConfig = {
|
||||
Type = "simple";
|
||||
Restart = "always";
|
||||
|
|
|
@ -104,8 +104,8 @@ in {
|
|||
systemd.services.mautrix-telegram = {
|
||||
description = "mautrix-telegram";
|
||||
wantedBy = ["multi-user.target"];
|
||||
wants = ["matrix-synapse.service" "mautrix-telegram-genregistration.service"];
|
||||
after = ["matrix-synapse.service" "mautrix-telegram-genregistration.service"];
|
||||
wants = ["mautrix-telegram-genregistration.service"];
|
||||
after = ["mautrix-telegram-genregistration.service"];
|
||||
serviceConfig = {
|
||||
Type = "simple";
|
||||
Restart = "always";
|
||||
|
|
|
@ -57,8 +57,6 @@ in {
|
|||
systemd.services.mautrix-whatsapp-genregistration = {
|
||||
description = "Mautrix-Whatsapp Registration";
|
||||
|
||||
requiredBy = ["matrix-synapse.service"];
|
||||
before = ["matrix-synapse.service"];
|
||||
script = ''
|
||||
# Not all secrets can be passed as environment variable (yet)
|
||||
# https://github.com/tulir/mautrix-telegram/issues/584
|
||||
|
@ -104,8 +102,8 @@ in {
|
|||
systemd.services.mautrix-whatsapp = {
|
||||
description = "Mautrix-Whatsapp";
|
||||
wantedBy = ["multi-user.target"];
|
||||
wants = ["matrix-synapse.service" "mautrix-whatsapp-genregistration.service"];
|
||||
after = ["matrix-synapse.service" "mautrix-whatsapp-genregistration.service"];
|
||||
wants = ["mautrix-whatsapp-genregistration.service"];
|
||||
after = ["mautrix-whatsapp-genregistration.service"];
|
||||
serviceConfig = {
|
||||
Type = "simple";
|
||||
Restart = "always";
|
||||
|
|
Loading…
Reference in a new issue