[gnome-online-accounts/wip/terminate-on-logout] data: Automatically terminate systemd services on GUI logout
- From: Simon McVittie <smcv src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-online-accounts/wip/terminate-on-logout] data: Automatically terminate systemd services on GUI logout
- Date: Thu, 3 Dec 2020 14:02:42 +0000 (UTC)
commit b257bb17a765e1b097e8fe6bdd961b22ae442613
Author: Simon McVittie <smcv collabora com>
Date: Thu Dec 3 12:25:38 2020 +0000
data: Automatically terminate systemd services on GUI logout
The gnome-online-accounts services are tied to gnome-keyring, which in
turn is tied to the login session.
Signed-off-by: Simon McVittie <smcv collabora com>
data/goa-daemon.service.in | 2 ++
data/goa-identity-service.service.in | 2 ++
2 files changed, 4 insertions(+)
---
diff --git a/data/goa-daemon.service.in b/data/goa-daemon.service.in
index c612656f..aabfee91 100644
--- a/data/goa-daemon.service.in
+++ b/data/goa-daemon.service.in
@@ -1,5 +1,7 @@
[Unit]
Description=GNOME Online Accounts service
+# Terminate automatically on logout from GUI session
+PartOf=graphical-session.target
[Service]
ExecStart=@libexecdir@/goa-daemon
diff --git a/data/goa-identity-service.service.in b/data/goa-identity-service.service.in
index 7bf8cf6c..d4855610 100644
--- a/data/goa-identity-service.service.in
+++ b/data/goa-identity-service.service.in
@@ -1,5 +1,7 @@
[Unit]
Description=GNOME identity service for Kerberos
+# Terminate automatically on logout from GUI session
+PartOf=graphical-session.target
[Service]
ExecStart=@libexecdir@/goa-identity-service
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]