tizen: Add additional unit for "unified" user session 61/204561/1 accepted/tizen/unified/20190503.110436 submit/tizen/20190503.060044
authorMateusz Moscicki <m.moscicki2@partner.samsung.com>
Wed, 24 Apr 2019 09:47:16 +0000 (11:47 +0200)
committerMateusz Moscicki <m.moscicki2@partner.samsung.com>
Wed, 24 Apr 2019 09:56:13 +0000 (11:56 +0200)
commitb5a095eb6461b15799e6fdfcfcbef3cb74589248
treec2ff5bb4f6e3eb28bf2a556ea91694bbe76f1a1c
parented800dfbd08411ff3538f5e634bee7e88bffb1b8
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: I560196bb043913376cf1e01c46476c6da8ab4488
packaging/email-service.spec
packaging/email-service@.service [new file with mode: 0644]
packaging/email-service@.socket [new file with mode: 0644]