mirror of
https://git.sr.ht/~magic_rb/cluster
synced 2024-11-22 00:04:20 +01:00
wip!!!!!!!
Signed-off-by: Magic_RB <magic_rb@redalder.org>
This commit is contained in:
parent
ce22f58d38
commit
8f78f52822
|
@ -19,8 +19,10 @@ nglib.makeSystem {
|
|||
in
|
||||
pkgs.writeShellScript "mautrix-facebook"
|
||||
''
|
||||
${pkgs.mautrix-facebook}/bin/mautrix-facebook -c ${config} -r $NOMAD_ALLOC_DIR/registration.yaml -g -n
|
||||
${pkgs.mautrix-facebook}/bin/mautrix-facebook -c ${config} -n
|
||||
CONFIG_FILE="/var/lib/mautrix-facebook/config.yaml"
|
||||
cp ${config} "$CONFIG_FILE" ; chmod 755 "$CONFIG_FILE"
|
||||
${pkgs.mautrix-facebook}/bin/mautrix-facebook -c "$CONFIG_FILE" -r $NOMAD_ALLOC_DIR/registration.yaml -g
|
||||
${pkgs.mautrix-facebook}/bin/mautrix-facebook -c "$CONFIG_FILE" -n
|
||||
'';
|
||||
};
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue