[tracker-miners/sam/gnome-session] miners: Tie systemd startup to gnome-session.service




commit 3a75f93865e8eb002a377a341a72b1a4b22a8040
Author: Sam Thursfield <sam afuera me uk>
Date:   Tue Oct 27 22:05:07 2020 +0100

    miners: Tie systemd startup to gnome-session.service
    
    See discussion at https://gitlab.gnome.org/GNOME/gvfs/-/issues/481#note_946504
    For background see https://systemd.io/DESKTOP_ENVIRONMENTS/

 src/miners/fs/tracker-miner-fs.service.in   | 3 ++-
 src/miners/rss/tracker-miner-rss.service.in | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/miners/fs/tracker-miner-fs.service.in b/src/miners/fs/tracker-miner-fs.service.in
index 5a562c2fb..ae7eb9734 100644
--- a/src/miners/fs/tracker-miner-fs.service.in
+++ b/src/miners/fs/tracker-miner-fs.service.in
@@ -10,6 +10,7 @@ Restart=on-failure
 # Don't restart after tracker daemon -k (aka tracker-control -k)
 RestartPreventExitStatus=SIGKILL
 Slice=background.slice
+After=gnome-session.target
 
 [Install]
-WantedBy=default.target
+WantedBy=gnome-session.target
diff --git a/src/miners/rss/tracker-miner-rss.service.in b/src/miners/rss/tracker-miner-rss.service.in
index 429755499..75c10347a 100644
--- a/src/miners/rss/tracker-miner-rss.service.in
+++ b/src/miners/rss/tracker-miner-rss.service.in
@@ -10,6 +10,7 @@ Restart=on-failure
 # Don't restart after tracker daemon -k (aka tracker-control -k)
 RestartPreventExitStatus=SIGKILL
 Slice=background.slice
+After=gnome-session.target
 
 [Install]
-WantedBy=default.target
+WantedBy=gnome-session.target


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]