linux-cli-community icon indicating copy to clipboard operation
linux-cli-community copied to clipboard

[Enhancement] Reduce the auotoconnect service time to impact less on startup time

Open ghost opened this issue 5 years ago • 0 comments

Is your feature request related to a problem? Please describe. The protonvpn-autoconnect.service systemd service takes more than 30 seconds to start. This significantly impacts the boot time,

Describe the solution you'd like The autoconnect service should not take more than a few seconds to start.

Additional context OS: Linux Mint 19.3 Cinnamon Context:

systemd-analyze critical-chain
The time after the unit is active or started is printed after the "@" character.
The time the unit takes to start is printed after the "+" character.

graphical.target @45.021s
└─multi-user.target @45.021s
  └─protonvpn-autoconnect.service @13.724s +31.297s
    └─basic.target @13.723s
      └─sockets.target @13.723s
        └─avahi-daemon.socket @13.723s
          └─sysinit.target @13.627s
            └─apparmor.service @11.325s +2.223s
              └─local-fs.target @11.233s
                └─run-user-1000-gvfs.mount @40.162s
                  └─run-user-1000.mount @37.230s
                    └─local-fs-pre.target @11.233s
                      └─lvm2-monitor.service @3.300s +7.932s
                        └─lvm2-lvmetad.service @4.441s
                          └─lvm2-lvmetad.socket @3.299s
                            └─system.slice @3.075s
                              └─-.slice @3.049s

ghost avatar Jun 15 '20 14:06 ghost