cliproxyapi-installer icon indicating copy to clipboard operation
cliproxyapi-installer copied to clipboard

Documentation: "autostart on boot" is misleading for user-level service

Open nanablast opened this issue 10 months ago • 0 comments

In the README, there's a section titled "Enable autostart on boot (recommended)":

Enable the service to start automatically on user login

systemctl --user enable cliproxyapi.service

The title says "on boot", but the comment correctly says "on user login". These are two different behaviors:

  • on boot: Service starts when the system boots, without requiring user login
  • on user login: Service only starts after the user logs in

systemctl --user enable only achieves the latter.

Suggestion:

Either:

  1. Change the title to "Enable autostart on user login"
  2. Or add loginctl enable-linger to truly enable autostart on boot:

Enable user services to start on boot (without login)

sudo loginctl enable-linger $USER

Enable the service

systemctl --user enable cliproxyapi.service

nanablast avatar Jan 18 '26 01:01 nanablast