meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
fractal [2020/08/15 10:56]
jayvii limiting pantalaimons cpu circles
fractal [2020/10/15 10:44] (current)
a-wai Update pantalaimon instructions
Line 47: Line 47:
 Pantalaimon works as the "good man in the middle",​ between your client and the Matrix Server. It deals with de- & encryption and forwards the unencrypted messages to Fractal (or encrypted ones to the room). This also works with media. Pantalaimon works as the "good man in the middle",​ between your client and the Matrix Server. It deals with de- & encryption and forwards the unencrypted messages to Fractal (or encrypted ones to the room). This also works with media.
  
-Pantalaimon is a daemon, written in Python, that can directly run as a systemd process on Mobian. ​It can be installed with pip  (''​sudo apt install python3-pip;​ sudo pip3 install pantalaimon''​) or through the Sid repositories (see below). The setup is a bit trickyhowever and the [[https://​github.com/​matrix-org/​pantalaimon/​|Repository'​s notes]] do not go into great detail.+Pantalaimon is a daemon, written in Python, that can directly run as a systemd process on Mobian.. The setup is a bit tricky howeverand the [[https://​github.com/​matrix-org/​pantalaimon/​|Repository'​s notes]] do not go into great detail.
  
 === Setting up Pantalaimon === === Setting up Pantalaimon ===
  
 It's recommended to do this via SSH, as it involves a lot of copying and typing. It's recommended to do this via SSH, as it involves a lot of copying and typing.
- 
-== Enable the sid-repo ==  
- 
-Just follow the [[https://​wiki.mobian-project.org/​doku.php?​id=tweaks&​s[]=sid#​add-sid-repository|instructions]] (make sure to not forget setting the priorities). 
-Afterwards ''​sudo apt update''​. 
  
 == Install Pantalaimon == == Install Pantalaimon ==
Line 79: Line 74:
 ListenAddress = localhost ListenAddress = localhost
 ListenPort = 8009 ListenPort = 8009
-SSL = False 
 # UseKeyring = True # UseKeyring = True
 # IgnoreVerification = True # IgnoreVerification = True
Line 90: Line 84:
 == Optional: systemd service == == Optional: systemd service ==
  
-Optional: In order to start pantalaimon automatically via systemd, ​create a file pantalaimon.service ​in /lib/​systemd/​user/​pantalaimon.service+Optional: In order to start pantalaimon automatically via systemd, ​copy the sample service ​file provided by the package (''/​usr/​share/​doc/​pantalaimon/​examples/​pantalaimon.service''​) into ''​/etc/​systemd/​user/​''​.
  
 +Then execute the following commands to reload the systemd daemon and start the service:
 <​code>​ <​code>​
-[Unit] +systemctl --user daemon-reload 
-Description=Pantalaimon E2E Matrix reverse proxy +systemctl --user enable --now pantalaimon.service
- +
-[Service] +
-ExecStart=/​usr/​bin/​pantalaimon +
- +
-[Install] +
-WantedBy=default.target+
 </​code>​ </​code>​
- 
-and start the service with ''​systemctl --user enable --now pantalaimon.service''​. ​ 
  
 == Log In == == Log In ==
Line 130: Line 117:
 </​code>​ </​code>​
  
-Then reload the systemd ​daemons ​and restart the service:+Then reload the systemd ​daemon ​and restart the service:
 <​code>​ <​code>​
-sudo systemctl daemon-reload +systemctl ​--user ​daemon-reload 
-sudo systemctl restart pantalaimon.service+systemctl ​--user ​restart pantalaimon.service
 </​code>​ </​code>​