Skip to content
Snippets Groups Projects
Commit 63340f43 authored by Julien Leduc's avatar Julien Leduc
Browse files

Adding cta:cta for all pods in buildtree.

Creating /var/log/cta as well because it is needed by taped.
parent 423181a8
No related branches found
No related tags found
No related merge requests found
......@@ -35,9 +35,10 @@ if [[ -n ${BUILDTREE_BASE} ]]; then
yum() { echo "Skipping yum $@"; }
/opt/run/bin/mkSymlinks.sh
if [ "-${MY_NAME}-" == "-ctafrontend-" ]; then
echo "Adding cta user and group"
/usr/bin/getent group cta || /usr/sbin/groupadd cta
/usr/bin/getent passwd cta || /usr/sbin/useradd -s /bin/nologin -c "CTA system account" -g cta cta
fi
# cta:cta needed for ctafrontend and taped but adding it inconditionally in buildtree
echo "Adding cta user and group"
/usr/bin/getent group cta || /usr/sbin/groupadd cta
/usr/bin/getent passwd cta || /usr/sbin/useradd -s /bin/nologin -c "CTA system account" -g cta cta
# creating /var/log/cta needed by taped
mkdir -p /var/log/cta
fi
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment