don’t depend on matrix-synapse

This commit is contained in:
Charlotte 🦝 Delenk 2023-04-18 18:01:15 +01:00
parent 3df6c52528
commit 87e006ad1c
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122
4 changed files with 8 additions and 12 deletions

View file

@ -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";

View file

@ -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";

View file

@ -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";

View file

@ -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";