On Sat, 18 Nov 2017, Jeff Solomon wrote:
Hi,

Is it by-design that a user can't restart their own user service?

If they aren't a lingering user, they'll get a new systemd instance if they completely log out and back in again.

Alternatively, they can restart the running instance with:

  systemctl --user daemon-reexec

This serializes state across the re-execution, so services running in the instance are not killed.

There's few reasons a user might want to do this however. The only one I can think of is where the admin had updated the systemd package and the user wanted to make use of it immediately.
_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to