Skip to content

Instantly share code, notes, and snippets.

@cketti
Created May 27, 2021 16:57
Show Gist options
  • Save cketti/fb12c4a1172a013e9cd7964d990e932d to your computer and use it in GitHub Desktop.
Save cketti/fb12c4a1172a013e9cd7964d990e932d to your computer and use it in GitHub Desktop.
matrix-docker-ansible-deploy + signald debugging
  • Clone signald fork used by matrix-docker-ansible-deploy: git clone https://mau.dev/maunium/signald.git
  • cd signald
  • Make changes to signald source code (add logging etc)
  • Build signald and create a docker image ready for use: docker build -t signald-debugging .
  • Edit /etc/systemd/system/matrix-mautrix-signal-daemon.service; replace dock.mau.dev/maunium/signald:latest with signald-debugging:latest
  • Make sure the modified service configuration is used: systemctl daemon-reload
  • Restart the signald docker container: systemctl restart matrix-mautrix-signal-daemon (this will use our signald-debugging image to create the container)
  • Hope the log contains the info you're looking for: journalctl -fu matrix-mautrix-signal-daemon
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment