[gnome-terminal] build: Group terminal processes into a slice



commit 7125551aa974278e4dae515ec60ca72e4b5576c5
Author: Benjamin Berg <bberg redhat com>
Date:   Tue Feb 4 18:28:09 2020 +0100

    build: Group terminal processes into a slice
    
    This effectively changes the cgroup hierarchy making all terminal window
    scope units and the main server unit be sibblings of
    apps-org.gnome.Terminal.slice rather than being in the root slice.
    
    Note that using the apps prefix with the reverse domain name has not yet
    been standardised on. But it is very likely that this will be the
    standard that everything will converge on in the future.
    
    https://gitlab.gnome.org/GNOME/gnome-terminal/issues/206

 src/Makefile.am | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/Makefile.am b/src/Makefile.am
index 900860b9..ed116964 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -156,6 +156,7 @@ gnome-terminal-server.service: Makefile
        $(AM_V_GEN) ( echo "[Unit]"; \
                      echo "Description=GNOME Terminal Server"; \
                      echo "[Service]"; \
+                     echo "Slice=apps-org.gnome.Terminal.slice"; \
                      echo "Type=dbus"; \
                      echo "BusName=org.gnome.Terminal"; \
                      echo "ExecStart=${libexecdir}/gnome-terminal-server") > $@


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