Add systemctl commands to README
This commit is contained in:
parent
2dbc968cd6
commit
78ae86aa23
|
@ -7,6 +7,9 @@ Docker source: [[https://hub.docker.com/r/shenxn/protonmail-bridge][Docker]] / [
|
||||||
|
|
||||||
To initialise:
|
To initialise:
|
||||||
#+begin_src bash
|
#+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
|
podman run --rm -it -v protonmail:/root shenxn/protonmail-bridge init
|
||||||
#+end_src
|
#+end_src
|
||||||
and follow normal login system for cli.
|
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:
|
Get password from protonmail-bridge, register with gnome-keyring:
|
||||||
#+begin_src bash
|
#+begin_src bash
|
||||||
secret-tool store --label="Proton mail mbsync" email e.litherlandsmith@proton.me
|
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
|
#+end_src
|
||||||
** iCloud
|
** iCloud
|
||||||
*** Password
|
*** Password
|
||||||
|
|
Loading…
Reference in a new issue