tizen: Add additional unit for "unified" user session 63/204563/2 accepted/tizen/unified/20190503.110441 submit/tizen/20190503.060010
authorMateusz Moscicki <m.moscicki2@partner.samsung.com>
Tue, 23 Apr 2019 11:10:19 +0000 (13:10 +0200)
committerKarol Lewandowski <k.lewandowsk@samsung.com>
Tue, 30 Apr 2019 10:42:20 +0000 (12:42 +0200)
commit73a871fa2688a0f74933dad5df0e38df1dcd704d
treef571883a3981517f7be5bbc4e6b897cb72c0bebc
parent999d7c4fe3eb120a996724b54952d81092697253
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: I2e5785094c90dd5860edf8e4f0f077a24edd023f
packaging/calendar-service.spec
packaging/calendar-serviced.service
packaging/calendar-serviced.service.tv [deleted file]
packaging/calendar-serviced@.service [new file with mode: 0644]
packaging/tv.conf [new file with mode: 0644]
server/CMakeLists.txt