github.com/osrg/gobgp/v3@v3.30.0/tools/contrib/centos/add_gobgpd_account.sh (about)

     1  groupadd --system gobgpd
     2  useradd --system -d /var/lib/gobgpd -s /bin/bash -g gobgpd gobgpd
     3  mkdir -p /var/{lib,run,log}/gobgpd
     4  chown -R gobgpd:gobgpd /var/{lib,run,log}/gobgpd
     5  mkdir -p /etc/gobgpd
     6  chown -R gobgpd:gobgpd /etc/gobgpd