diff options
author | Marius Gripsgard <marius@ubports.com> | 2020-08-09 22:34:36 +0200 |
---|---|---|
committer | Marius Gripsgard <marius@ubports.com> | 2020-08-09 22:34:36 +0200 |
commit | bda49567cf56194aeeb937e0542158bf5f5888f7 (patch) | |
tree | 53fac2e752b235d5855bba7938915ed6787fdcb4 /debian | |
parent | acc3b1a54e91ba82765cd12b05e7d5d02e963c02 (diff) | |
download | ayatana-indicator-display-bda49567cf56194aeeb937e0542158bf5f5888f7.tar.gz ayatana-indicator-display-bda49567cf56194aeeb937e0542158bf5f5888f7.tar.bz2 ayatana-indicator-display-bda49567cf56194aeeb937e0542158bf5f5888f7.zip |
Start indicator in systemd when ayatana-indicators.target is started
This starts the indicator with the ayatana-indicators.target
Diffstat (limited to 'debian')
-rw-r--r-- | debian/ayatana-indicator-display.links | 2 | ||||
-rw-r--r-- | debian/control | 1 | ||||
-rwxr-xr-x | debian/rules | 2 |
3 files changed, 4 insertions, 1 deletions
diff --git a/debian/ayatana-indicator-display.links b/debian/ayatana-indicator-display.links new file mode 100644 index 0000000..b5d4c0b --- /dev/null +++ b/debian/ayatana-indicator-display.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-display.service /usr/lib/systemd/user/ayatana-indicators.target.wants/ayatana-indicator-display.service diff --git a/debian/control b/debian/control index d244612..908046b 100644 --- a/debian/control +++ b/debian/control @@ -22,6 +22,7 @@ Build-Depends: cmake, googletest | google-mock (>= 1.6.0+svn437), # for packaging debhelper (>= 9), + dh-systemd, # for systemd unit systemd [linux-any], Standards-Version: 4.1.1 diff --git a/debian/rules b/debian/rules index 4ff937e..d3e74c8 100755 --- a/debian/rules +++ b/debian/rules @@ -11,7 +11,7 @@ DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk %: - dh $@ --parallel + dh $@ --parallel --with systemd get-orig-source: uscan --noconf --force-download --rename --download-current-version --destdir=.. |