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
|
||||||
@ -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 /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 /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
|
||||||
@ -54,4 +56,4 @@ PrivateTmp=no
|
|||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
DefaultInstance=current
|
DefaultInstance=current
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
Loading…
Reference in New Issue
Block a user