tizen: Add additional unit for "unified" user session 36/204136/2
authorMateusz Moscicki <m.moscicki2@partner.samsung.com>
Fri, 19 Apr 2019 11:48:48 +0000 (13:48 +0200)
committerMateusz Mościcki <m.moscicki2@partner.samsung.com>
Fri, 26 Apr 2019 10:36:08 +0000 (10:36 +0000)
commit371f1ade513b56bb89b8ecedbef16d6c3d7392c3
treea329da2ac25fb2c1aa8cf5a2b4473b9e38477384
parentaf8282da044966b5e7c2d0d86659b12fde4deb9b
tizen: Add additional unit for "unified" user session

The unified user session is about moving user session units, managed by
systemd --user, to main systemd, where it's managed as part of newly
created user@.target.

user@.target will contain same units as previously available in user/,
with same UID and environment setup.  systemd instance is used for unit
to be able to specify UID (inherited from user@.target).

The rationale behind this work is following:

* TV profile would benefit from remove user session support
* boot time optimization requirements, due to:

   + 'systemd --user' taking 1s its own startup that could be used for
     unit startup
   + ability to better rearrange units if these managed by one systemd
     instance

Unit installed by this commit will not be used till user login mechanism
will be changed in systemd package (via changing pam_systemd to start
user@.target, rather than user@.service).

Change-Id: If68bb07b8de2a66356d13c8999126c4387ddd3bc
packaging/launchpad-process-pool@.service [new file with mode: 0644]
packaging/launchpad-process-pool@.socket [new file with mode: 0644]
packaging/launchpad.spec