debug + JAVA_HOME
This commit is contained in:
parent
83753ae120
commit
faf6360b87
@ -53,6 +53,7 @@ autoinstall:
|
|||||||
- cups
|
- cups
|
||||||
- wsdd
|
- wsdd
|
||||||
- libxt6
|
- libxt6
|
||||||
|
- libtcmalloc-minimal4
|
||||||
late-commands:
|
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
|
- 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
|
- sync
|
||||||
@ -225,6 +226,12 @@ autoinstall:
|
|||||||
stat /tmp/1c >/dev/null 2>/dev/null && rm -rf /tmp/1c || 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
|
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 ---
|
# --- 1c web init ---
|
||||||
- |
|
- |
|
||||||
set -x
|
set -x
|
||||||
|
@ -7,6 +7,8 @@ Type=simple
|
|||||||
User=usr1cv8
|
User=usr1cv8
|
||||||
Group=grp1cv8
|
Group=grp1cv8
|
||||||
|
|
||||||
|
Environment=JAVA_HOME=/opt/1cv8/x86_64/%I/jre
|
||||||
|
|
||||||
# Path to directory with claster data
|
# Path to directory with claster data
|
||||||
Environment=SRV1CV8_DATA=/home/usr1cv8/.1cv8/1C/1cv8/
|
Environment=SRV1CV8_DATA=/home/usr1cv8/.1cv8/1C/1cv8/
|
||||||
|
|
||||||
@ -33,7 +35,7 @@ Environment=SRV1CV8_SECLEV=0
|
|||||||
# blank - default - debug mode is off
|
# blank - default - debug mode is off
|
||||||
# -debug - debug mode is on
|
# -debug - debug mode is on
|
||||||
#
|
#
|
||||||
Environment=SRV1CV8_DEBUG=
|
Environment=SRV1CV8_DEBUG=-debug -http
|
||||||
|
|
||||||
# Check period for connection loss detector, milliseconds
|
# Check period for connection loss detector, milliseconds
|
||||||
Environment=SRV1CV8_PING_PERIOD=1000
|
Environment=SRV1CV8_PING_PERIOD=1000
|
||||||
|
Loading…
Reference in New Issue
Block a user