Rename systemd slice to app rather than apps
So, after some discussions I proposed changing the slice name from "apps" to "app" as that is a more versatile prefix for the different unit types.
See https://github.com/systemd/systemd/pull/15647
commit de923af41b4abe69827b1c1433f831fd081d374e (HEAD -> benzea/systemd-app-rename, origin/benzea/systemd-app-rename, master)
Author: Benjamin Berg <bberg@redhat.com>
Date: Tue May 5 15:44:33 2020 +0200
systemd: Place vte into app.slice rather than apps.slice
To avoid confusion, we have updated the systemd specification to use
app.slice rather than apps.slice. Update the use here accordingly.
This change is in no way urgent as other software is not using the
conventions yet.
See https://github.com/systemd/systemd/pull/15647
diff --git a/src/systemd.cc b/src/systemd.cc
index 7610b49f..fbd9d765 100644
--- a/src/systemd.cc
+++ b/src/systemd.cc
@@ -84,7 +84,7 @@ create_scope_for_pid_sync(pid_t pid,
free(slice);
} else {
// Fallback
- g_variant_builder_add(builder, "(sv)", "Slice", g_variant_new_string("apps-org.gnome.vte.slice"));
+ g_variant_builder_add(builder, "(sv)", "Slice", g_variant_new_string("app-org.gnome.vte.slice"));
}
g_variant_builder_close(builder); // a(sv)