aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorMarius Gripsgard <marius@ubports.com>2020-08-09 22:00:36 +0200
committerMarius Gripsgard <marius@ubports.com>2020-08-09 22:13:16 +0200
commitc011884c8912fb8245584cd46b2ef30022ac8133 (patch)
tree84a912beb9bf3ff48a5960c50bb8b777426fc643 /data
parent09e84775b56615f39e11313949f06fc7a1e885a8 (diff)
downloadayatana-indicator-power-c011884c8912fb8245584cd46b2ef30022ac8133.tar.gz
ayatana-indicator-power-c011884c8912fb8245584cd46b2ef30022ac8133.tar.bz2
ayatana-indicator-power-c011884c8912fb8245584cd46b2ef30022ac8133.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-power/systemd-lifecycle/revision/311
Diffstat (limited to 'data')
-rw-r--r--data/ayatana-indicator-power.service.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/data/ayatana-indicator-power.service.in b/data/ayatana-indicator-power.service.in
index 90ea9e6..dafac52 100644
--- a/data/ayatana-indicator-power.service.in
+++ b/data/ayatana-indicator-power.service.in
@@ -1,8 +1,11 @@
[Unit]
Description=Ayatana Indicator Power
PartOf=graphical-session.target
-After=ayatana-indicators-pre.target
+PartOf=ayatana-indicators.target
[Service]
ExecStart=@pkglibexecdir@/ayatana-indicator-power-service
Restart=on-failure
+
+[Install]
+WantedBy=ayatana-indicators.target