From a48e76bdfe91eaf11af02da2dae7a48c3ab95fc9 Mon Sep 17 00:00:00 2001 From: David Edmundson Date: Wed, 4 Mar 2020 12:49:52 +0000 Subject: [PATCH] Use a common cgroup convention for application names The library used in spawning the cgroup is somewhat unimportant, whereas if we have a common prefix that matches KDE it allows for potential future grouping in user system monitoring tools. --- libgnome-desktop/gnome-systemd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libgnome-desktop/gnome-systemd.c b/libgnome-desktop/gnome-systemd.c index 4c875583..34b23a8c 100644 --- a/libgnome-desktop/gnome-systemd.c +++ b/libgnome-desktop/gnome-systemd.c @@ -78,7 +78,7 @@ start_systemd_scope (GDBusConnection *connection, GTask *task) g_assert (task_data != NULL); /* This needs to be unique, hopefully the pid will be enough. */ - unit_name = g_strdup_printf ("gnome-launched-%s-%d.scope", task_data->name, task_data->pid); + unit_name = g_strdup_printf ("app-%s-%d.scope", task_data->name, task_data->pid); g_variant_builder_init (&builder, G_VARIANT_TYPE ("(ssa(sv)a(sa(sv)))")); g_variant_builder_add (&builder, "s", unit_name); -- 2.25.1