Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etersoft-admin-essentials
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
etersoft-admin-essentials
Commits
a965adbf
Commit
a965adbf
authored
Oct 25, 2019
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add run-1c8.sh script
parent
e3c47461
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
0 deletions
+32
-0
run-1c8.sh
etersoft/run-1c8.sh
+32
-0
No files found.
etersoft/run-1c8.sh
0 → 100755
View file @
a965adbf
#!/bin/sh
# Usage: run-1c8.sh [wine]
# rerun via ssh from rw
if
[
"
$(
hostname
-s
)
"
!=
"rw"
]
;
then
TODO: use rxclient or xpra
ssh
-o
PasswordAuthentication
=
no
-Y
rw /home/share/resources/wine-buh/run-1c8.sh
exit
fi
# start wine if we force it
if
[
"
$1
"
=
"wine"
]
;
then
export
WINEPREFIX
=
~/.wine-buh
test
-d
$WINEPREFIX
||
wine
--attach
/home/share/resources/wine-buh
WINEPREFIX
=
~/.wine-buh winelog
"C:
\P
rogram Files
\\
1cv8
\\
common
\\
1cestart.exe"
#WINEPREFIX=~/.wine-buh winelog "C:\Program Files\\1cv82\\common\\1cestart.exe"
#WINEPREFIX=~/.wine-buh winelog "C:\Program Files\\1cv82\\8.2.16.368\\bin\\1cv8.exe"
exit
fi
# start 1C client
START
=
/opt/1C/v8.3/x86_64/1cestart
[
-x
"
$START
"
]
||
START
=
/opt/1C/v8.3/i386/1cestart
if
[
-x
"
$START
"
]
;
then
# See https://bugs.etersoft.ru/show_bug.cgi?id=11666 about ignoreflock
#ignoreflock strace -f -y $START 2>/tmp/1ct
ignoreflock
$START
exit
fi
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment