summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Edmundson <kde@davidedmundson.co.uk>2020-04-30 12:59:06 +0100
committerAlexander Larsson <alexander.larsson@gmail.com>2020-05-04 12:07:24 +0200
commite481e3ea58e515e6e88673fac908be941c882569 (patch)
tree29442d71a93dedeef45b62155ca3d46d04f03171
parent2be81a01c4b4bd4645c5e2cf0151f067572343d0 (diff)
downloadflatpak-e481e3ea58e515e6e88673fac908be941c882569.tar.gz
Rename registered cgroups to have app- prefix
The newly added https://systemd.io/DESKTOP_ENVIRONMENTS/ lists an XDG defined specification for how cgroups for applications should be named. This will allow flatpak's to correctly follow any drop-in's set for applications on the system as well as help next-gen system monitor's treat flatpaks as applications. flatpak-session-helper.service is unaffected.
-rw-r--r--common/flatpak-run.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/flatpak-run.c b/common/flatpak-run.c
index cb9d7c41..83eee450 100644
--- a/common/flatpak-run.c
+++ b/common/flatpak-run.c
@@ -1666,7 +1666,7 @@ flatpak_run_in_transient_unit (const char *appid, GError **error)
if (!manager)
goto out;
- name = g_strdup_printf ("flatpak-%s-%d.scope", appid, getpid ());
+ name = g_strdup_printf ("apps-flatpak-%s-%d.scope", appid, getpid ());
g_variant_builder_init (&builder, G_VARIANT_TYPE ("a(sv)"));