Create opngsys user by installer
Set permissions to env.jsonogrepo-keys
parent
b717e2b7ee
commit
8a634a5f71
|
@ -21,6 +21,10 @@ OGREPOSITORY_REPO="$OPENGNSYS_BASE_URL/ogrepository.git"
|
|||
export GIT_SSL_NO_VERIFY=1
|
||||
|
||||
|
||||
# Creamos el usuario opengnsys
|
||||
|
||||
useradd -m -d /opt/opengnsys -r -s /bin/bash opengnsys
|
||||
|
||||
## Functions
|
||||
|
||||
function install_docker() {
|
||||
|
@ -123,7 +127,7 @@ do
|
|||
mkdir -p $component_dir/etc
|
||||
cp $component_dir/repo/.env $component_dir/etc/
|
||||
cp $component_dir/repo/env.json $component_dir/etc/
|
||||
chown 82:82 $component_dir/etc/
|
||||
chown 82:82 $component_dir/etc/env.json
|
||||
mkdir -p $component_dir/bin/
|
||||
cp $CONFIGS_DIR/provision_ogcore.sh $component_dir/bin/
|
||||
chmod 755 $component_dir/bin/provision_ogcore.sh
|
||||
|
|
Loading…
Reference in New Issue