golang.org/x/build@v0.0.0-20240506185731-218518f32b70/env/linux-ppc64/osuosl/rundockerbuildlet.service (about)

     1  [Unit]
     2  Description=Run Buildlets in Docker
     3  After=network.target
     4  
     5  [Install]
     6  WantedBy=network-online.target
     7  
     8  [Service]
     9  Type=simple
    10  # The (-n * -cpu) values must currently be <= number of host cores.
    11  # The host has 20 cores 32GB ram, so the -n=5 (five containers) * -cpu=4 (four CPUs per container) == 20.
    12  ExecStart=/usr/local/bin/rundockerbuildlet -basename=power_ -image=golang/buildlet-stage0 -n=5 -cpu=4 -memory=6g --env=host-linux-ppc64-sid
    13  Restart=always
    14  RestartSec=2
    15  StartLimitInterval=0