@protonprivacy I am using Fedora (Gnome) and I would like to launch ProtonMail Bridge in background. But I don’t know how and cannot find a setting for that. Has anyone solved a similar issue?

  • Moritz@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    10 months ago

    For anyone who wonders how I solved my issue:

    I created the file ~/.config/systemd/user/protonmail-bridge.service and wrote the following into it:

    [Unit]
    Description=ProtonMail Bridge Flatpak Service
    
    [Service]
    ExecStart=/usr/bin/flatpak run ch.protonmail.protonmail-bridge --no-window
    Restart=always
    RestartSec=10
    
    [Install]
    WantedBy=default.target
    

    If you are not using the Flatpack version of ProtonMail Bridge, then modify the ExecStart value to your installation.

    After that I ran systemctl --user start protonmail-bridge.service to start the service and systemctl --user enable protonmail-bridge.service to make it auto-start upon login-in into my account.