aboutsummaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorMarius Gripsgard <marius@ubports.com>2020-08-09 22:30:00 +0200
committerMarius Gripsgard <marius@ubports.com>2020-08-09 22:30:00 +0200
commitf084bca48ea7633aa43bfb63832cc710766c13c3 (patch)
treeb7088b61531b8137aa8d0d61113e9eae18e0022c /data
parent803dd51c1404d44e9088d6acbb68f22e54919309 (diff)
downloadayatana-indicator-datetime-f084bca48ea7633aa43bfb63832cc710766c13c3.tar.gz
ayatana-indicator-datetime-f084bca48ea7633aa43bfb63832cc710766c13c3.tar.bz2
ayatana-indicator-datetime-f084bca48ea7633aa43bfb63832cc710766c13c3.zip
Start indicator in systemd when ayatana-indicators.target is started
This starts the indicator with the ayatana-indicators.target Taken from: https://github.com/ubports/indicator-datetime/commit/313c78c0f4bd66fcc130757189cdbd3429c50657
Diffstat (limited to 'data')
-rw-r--r--data/ayatana-indicator-datetime.service.in5
1 files changed, 4 insertions, 1 deletions
diff --git a/data/ayatana-indicator-datetime.service.in b/data/ayatana-indicator-datetime.service.in
index 3c1ce6a..da1cd54 100644
--- a/data/ayatana-indicator-datetime.service.in
+++ b/data/ayatana-indicator-datetime.service.in
@@ -1,8 +1,11 @@
[Unit]
Description=Ayatana Indicator DateTime Service
PartOf=graphical-session.target
-After=ayatana-indicators-pre.target
+PartOf=ayatana-indicators.target
[Service]
ExecStart=@pkglibexecdir@/ayatana-indicator-datetime-service
Restart=on-failure
+
+[Install]
+WantedBy=ayatana-indicators.target