aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorMarius Gripsgard <marius@ubports.com>2020-08-09 22:12:27 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2020-08-10 08:54:53 +0200
commitee4c1ca711fdcfefd4e1d77b116b83c8af149c7a (patch)
tree6a3c83b48fad1253195e2c42f081278a3645b4a0 /debian
parent9d29d5074491e5ba4e0d4d6caaa8c7fe2ede97cb (diff)
downloadayatana-indicator-session-ee4c1ca711fdcfefd4e1d77b116b83c8af149c7a.tar.gz
ayatana-indicator-session-ee4c1ca711fdcfefd4e1d77b116b83c8af149c7a.tar.bz2
ayatana-indicator-session-ee4c1ca711fdcfefd4e1d77b116b83c8af149c7a.zip
Start indicator in systemd when ayatana-indicators.target is started
This starts the indicator with the ayatana-indicators.target Patch from: https://bazaar.launchpad.net/~mterry/indicator-session/systemd-lifecycle/diff/489
Diffstat (limited to 'debian')
-rw-r--r--debian/ayatana-indicator-session.links2
-rwxr-xr-xdebian/rules2
2 files changed, 3 insertions, 1 deletions
diff --git a/debian/ayatana-indicator-session.links b/debian/ayatana-indicator-session.links
new file mode 100644
index 0000000..4c6eb22
--- /dev/null
+++ b/debian/ayatana-indicator-session.links
@@ -0,0 +1,2 @@
+# Because dh-systemd does not yet support user units, we manually make the WantedBy link
+/usr/lib/systemd/user/ayatana-indicator-session.service /usr/lib/systemd/user/ayatana-indicators.target.wants/ayatana-indicator-session.service
diff --git a/debian/rules b/debian/rules
index 3cbbbc8..68ec87b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,7 +7,7 @@ DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
%:
- dh $@
+ dh $@ --with systemd
override_dh_install:
find debian/ayatana-indicator-session/usr/lib -name *.la -delete