services: matrix bridge config
This commit is contained in:
parent
19cc70dadf
commit
e437aabab8
@ -96,7 +96,7 @@ in {
|
|||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
after = [ "network.target" "postgresql.service" "matrix-synapse.service" ];
|
after = [ "network.target" "postgresql.service" "matrix-synapse.service" ];
|
||||||
requires = [ "postgresql.service" "matrix-synapse.service" ];
|
requires = [ "postgresql.service" "matrix-synapse.service" ];
|
||||||
script = "${pkgs.mautrix-whatsapp}/bin/mautrix-whatsapp --config ${config.age.secrets."services/matrix/mautrix-whatsapp.yml".path}";
|
script = "${pkgs.mautrix-whatsapp}/bin/mautrix-whatsapp -n --config ${config.age.secrets."services/matrix/mautrix-whatsapp.yml".path}";
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
User = "mautrix-whatsapp";
|
User = "mautrix-whatsapp";
|
||||||
Group = "mautrix-whatsapp";
|
Group = "mautrix-whatsapp";
|
||||||
@ -109,7 +109,7 @@ in {
|
|||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
after = [ "network.target" "postgresql.service" "matrix-synapse.service" ];
|
after = [ "network.target" "postgresql.service" "matrix-synapse.service" ];
|
||||||
requires = [ "postgresql.service" "matrix-synapse.service" "signald.service"];
|
requires = [ "postgresql.service" "matrix-synapse.service" "signald.service"];
|
||||||
script = "${pkgs.mautrix-signal}/bin/mautrix-signal --config ${config.age.secrets."services/matrix/mautrix-signal.yml".path}";
|
script = "${pkgs.mautrix-signal}/bin/mautrix-signal -n --config ${config.age.secrets."services/matrix/mautrix-signal.yml".path}";
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
User = "mautrix-signal";
|
User = "mautrix-signal";
|
||||||
Group = "mautrix-signal";
|
Group = "mautrix-signal";
|
||||||
|
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user