tizen: Add additional unit for "unified" user session 30/204130/1 accepted/tizen/unified/20190503.110445 submit/tizen/20190503.055918
authorMateusz Moscicki <m.moscicki2@partner.samsung.com>
Fri, 19 Apr 2019 10:31:23 +0000 (12:31 +0200)
committerMateusz Moscicki <m.moscicki2@partner.samsung.com>
Fri, 19 Apr 2019 13:33:46 +0000 (15:33 +0200)
commitae8997a797d0091db61e8ece94fb0c308078b801
tree1b3b99d2896b26da321a34ce6d045e0606c4d1b1
parentc83445d30c5a434a2e789b0caaea7ee3b8672338
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:

* VD requirement to 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: Ibca930bd95b5c994e1655d616a940feea8368f44
packaging/contacts-service-mobile@.service [new file with mode: 0644]
packaging/contacts-service.spec
packaging/contacts-service@.service [new file with mode: 0644]
packaging/contacts-service@.socket [new file with mode: 0644]