Merge lp:~mterry/indicator-datetime/systemd-lifecycle into lp:indicator-datetime

Proposed by Michael Terry
Status: Work in progress
Proposed branch: lp:~mterry/indicator-datetime/systemd-lifecycle
Merge into: lp:indicator-datetime
Diff against target: 48 lines (+8/-2)
4 files modified
data/indicator-datetime.service.in (+4/-1)
debian/control (+1/-0)
debian/indicator-datetime.links (+2/-0)
debian/rules (+1/-1)
To merge this branch: bzr merge lp:~mterry/indicator-datetime/systemd-lifecycle
Reviewer Review Type Date Requested Status
Indicator Applet Developers Pending
Review via email: mp+321758@code.launchpad.net

Commit message

WIP

To post a comment you must log in.

Unmerged revisions

485. By Michael Terry

Support indicators.target systemd lifecycle

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'data/indicator-datetime.service.in'
2--- data/indicator-datetime.service.in 2016-10-19 09:36:20 +0000
3+++ data/indicator-datetime.service.in 2017-04-03 18:21:26 +0000
4@@ -1,8 +1,11 @@
5 [Unit]
6 Description=Indicator Date & Time Backend
7 PartOf=graphical-session.target
8-After=indicators-pre.target
9+PartOf=indicators.target
10
11 [Service]
12 ExecStart=@pkglibexecdir@/indicator-datetime-service
13 Restart=on-failure
14+
15+[Install]
16+WantedBy=indicators.target
17
18=== modified file 'debian/control'
19--- debian/control 2017-02-27 14:29:11 +0000
20+++ debian/control 2017-04-03 18:21:26 +0000
21@@ -6,6 +6,7 @@
22 cmake-extras (>= 1.1),
23 dbus,
24 debhelper (>= 9),
25+ dh-systemd,
26 dh-translations,
27 gcovr,
28 intltool,
29
30=== added file 'debian/indicator-datetime.links'
31--- debian/indicator-datetime.links 1970-01-01 00:00:00 +0000
32+++ debian/indicator-datetime.links 2017-04-03 18:21:26 +0000
33@@ -0,0 +1,2 @@
34+# Because dh-systemd does not yet support user units, we manually make the WantedBy link
35+/usr/lib/systemd/user/indicator-datetime.service /usr/lib/systemd/user/indicators.target.wants/indicator-datetime.service
36
37=== modified file 'debian/rules'
38--- debian/rules 2015-07-15 18:24:13 +0000
39+++ debian/rules 2017-04-03 18:21:26 +0000
40@@ -3,7 +3,7 @@
41 LDFLAGS += -Wl,-z,defs -Wl,--as-needed
42
43 %:
44- dh $@ --with translations
45+ dh $@ --with systemd,translations
46
47 override_dh_install:
48 dh_install --fail-missing

Subscribers

People subscribed via source and target branches