Add systemctl commands to README

This commit is contained in:
Evie Litherland-Smith 2023-10-01 13:20:07 +01:00
parent 2dbc968cd6
commit 78ae86aa23

View file

@ -7,6 +7,9 @@ Docker source: [[https://hub.docker.com/r/shenxn/protonmail-bridge][Docker]] / [
To initialise:
#+begin_src bash
# Stop systemd service if already running
systemctl --user stop protonmail-bridge.service
# Log in to protonmail-bridge --cli
podman run --rm -it -v protonmail:/root shenxn/protonmail-bridge init
#+end_src
and follow normal login system for cli.
@ -16,6 +19,8 @@ systemd unit handles running container on boot after this.
Get password from protonmail-bridge, register with gnome-keyring:
#+begin_src bash
secret-tool store --label="Proton mail mbsync" email e.litherlandsmith@proton.me
# Start service if stopped earlier
systemctl --user start protonmail-bridge.service
#+end_src
** iCloud
*** Password