Merge lp://staging/~3v1n0/unity/systemd-unit-fixes into lp://staging/unity
Status: | Merged |
---|---|
Approved by: | Marco Trevisan (Treviño) |
Approved revision: | no longer in the source branch. |
Merged at revision: | 4193 |
Proposed branch: | lp://staging/~3v1n0/unity/systemd-unit-fixes |
Merge into: | lp://staging/unity |
Diff against target: |
967 lines (+538/-66) 31 files modified
data/CMakeLists.txt (+7/-1) data/unity7.conf.in (+2/-19) data/unity7.override (+1/-0) data/unity7.service.in (+15/-0) debian/control (+23/-21) debian/libunity-core-6.0-9.install (+3/-2) debian/unity-services.install (+4/-1) debian/unity-services.links (+13/-0) debian/unity.install (+4/-0) debian/unity.links (+1/-0) lockscreen/LockScreenController.cpp (+5/-0) lockscreen/LockScreenController.h (+3/-0) services/CMakeLists.txt (+31/-0) services/unity-panel-service-lockscreen.conf.in (+3/-1) services/unity-panel-service-lockscreen.override (+1/-0) services/unity-panel-service-lockscreen.service.in (+2/-1) services/unity-panel-service.conf.in (+3/-1) services/unity-panel-service.override (+1/-0) services/unity-panel-service.service.in (+10/-0) services/unity-screen-locked.target (+5/-0) tests/CMakeLists.txt (+1/-0) tests/test_lockscreen_controller.cpp (+5/-2) tests/test_systemd_wrapper.cpp (+110/-0) tools/CMakeLists.txt (+6/-0) tools/compiz-profile-selector.in (+19/-0) tools/systemd-prestart-check (+29/-0) tools/unity.cmake (+63/-17) tools/upstart-prestart-check (+17/-0) unity-shared/CMakeLists.txt (+1/-0) unity-shared/SystemdWrapper.cpp (+96/-0) unity-shared/SystemdWrapper.h (+54/-0) |
To merge this branch: | bzr merge lp://staging/~3v1n0/unity/systemd-unit-fixes |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Andrea Azzarone (community) | Approve | ||
Ted Gould (community) | Approve | ||
Iain Lane (community) | systemd-units | Approve | |
Marco Trevisan (Treviño) | Pending | ||
Review via email: mp+304784@code.staging.launchpad.net |
This proposal supersedes a proposal from 2016-07-20.
Commit message
Unity: add systemd units for the shell and related services, mark unity7 a requirement for ubuntu-session
At it's core this MR is about making unity7 work with the systemd user sessions.
It required a larger change than expected, so some descriptions :-)
It moves the prestart scripts from Upstart into a shared shell script so that both
systemd and Upstart can use the same code.
Added a signal wrapper for Systemd, today we are sending both signals as both
will be running for the time being. In the future the Upstart signals should be
droppable.
For lock screen we created a target for when the lock screen is enabled.
We put the panel job in there, but other jobs can add themselves by
putting a symbolic link into the "unity-
directory to their jobs if they want.
Description of the change
This is mainly based on lp:~ted/unity/systemd-unit. with some fixes applied on top
There have been changes recently to upstart job to change COMPIZ_ CONFIG_ PROFILE depending on the gfx environment. So please sync with upstream changes on that.
Also, please rebase on lp:~azzar1/unity/unity-active-plugins--safety-check, which will need to be ported too