debug + JAVA_HOME

This commit is contained in:
Dmitry Belyaev 2023-05-08 21:24:31 +03:00
parent 83753ae120
commit faf6360b87
2 changed files with 12 additions and 3 deletions

View File

@ -53,6 +53,7 @@ autoinstall:
- cups
- wsdd
- libxt6
- libtcmalloc-minimal4
late-commands:
- stat /cdrom/1c/install >/dev/null 2>/dev/null && sh -exc "mkdir -p /target/var/install/1c && cp /cdrom/1c/install/* /target/var/install/1c/" || echo skip 1c distr copy
- sync
@ -224,7 +225,13 @@ autoinstall:
# stat /var/install/1c >/dev/null 2>/dev/null && $(find /tmp/1c -name "setup-full-*.run" -type f) --mode unattended --enable-components additional_admin_functions,integrity_monitoring,config_storage_server,client_full,client_thin_fib,liberica_jre,server,server_admin,ws,ru || echo skip 1c install
stat /tmp/1c >/dev/null 2>/dev/null && rm -rf /tmp/1c || echo skip 1c install
stat /opt/1cv8/x86_64 >/dev/null 2>/dev/null && ln -s $(find /opt/1cv8/x86_64 -name "8.3.*" -type d) /opt/1cv8/x86_64/current || echo skip 1c install
# --- 1c config ---
- |
echo "JavaHome=/opt/1cv8/x86_64/current/jre" >> /opt/1cv8/conf/conf.cfg
echo "JAVA_HOME=/opt/1cv8/x86_64/current/jre" >> /opt/1cv8/conf/conf.cfg
echo "UpdateDBCfg=v2" >> /opt/1cv8/conf/conf.cfg
# --- 1c web init ---
- |
set -x

View File

@ -7,6 +7,8 @@ Type=simple
User=usr1cv8
Group=grp1cv8
Environment=JAVA_HOME=/opt/1cv8/x86_64/%I/jre
# Path to directory with claster data
Environment=SRV1CV8_DATA=/home/usr1cv8/.1cv8/1C/1cv8/
@ -33,7 +35,7 @@ Environment=SRV1CV8_SECLEV=0
# blank - default - debug mode is off
# -debug - debug mode is on
#
Environment=SRV1CV8_DEBUG=
Environment=SRV1CV8_DEBUG=-debug -http
# Check period for connection loss detector, milliseconds
Environment=SRV1CV8_PING_PERIOD=1000
@ -54,4 +56,4 @@ PrivateTmp=no
[Install]
DefaultInstance=current
WantedBy=multi-user.target
WantedBy=multi-user.target