Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
NomadGUI
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Instrument Control
VISA-Releases
NomadGUI
Commits
e6e31665
Commit
e6e31665
authored
Oct 22, 2020
by
Locatelli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
22887894
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
NomadVM.sh
NomadVM.sh
+3
-5
No files found.
NomadVM.sh
View file @
e6e31665
...
@@ -85,9 +85,7 @@ then
...
@@ -85,9 +85,7 @@ then
CRASHMESSAGE
=
`
zenity
--text-info
--filename
=
$TEMP_FILE
--editable
--ok-label
=
"Send"
--title
=
"Nomad Crash Report"
`
CRASHMESSAGE
=
`
zenity
--text-info
--filename
=
$TEMP_FILE
--editable
--ok-label
=
"Send"
--title
=
"Nomad Crash Report"
`
if
[
-n
"
$CRASHMESSAGE
"
]
;
if
[
-n
"
$CRASHMESSAGE
"
]
;
then
then
echo
$CRASHMESSAGE
>
$TEMP_FILE2
/usr/lib/jvm/jdk10.0.1/bin/java
-jar
lib64/nomadmail.jar
"[
`
hostname
`
][report] user crash report"
"
$CRASHMESSAGE
"
sci@ill.fr
$NOMAD_MAIL
/usr/lib/jvm/jdk10.0.1/bin/java
-DvirtualHome
=
/tmp/nomad/nomadgui-release
-Djava
.library.path
=
lib64/common/calculator:/usr/lib:/usr/lib:/usr/lib/x86_64-linux-gnu/jni
-Djava
.util.logging.config.file
=
conf/client/logging.properties
-jar
lib64/nomadmail.jar
"
$TEMP_FILE2
"
rm
-f
$TEMP_FILE2
fi
fi
rm
-f
$TEMP_FILE
rm
-f
$TEMP_FILE
...
@@ -95,9 +93,9 @@ else
...
@@ -95,9 +93,9 @@ else
if
[
$STATUS
-ne
0
]
;
if
[
$STATUS
-ne
0
]
;
then
then
content
=
`
cat
$FILE
`
# Call the nomadmail application to send the mail of crash by the Nomad server.
# Call the nomadmail application to send the mail of crash by the Nomad server.
/usr/lib/jvm/jdk10.0.1/bin/java
-DvirtualHome
=
/tmp/nomad/nomadgui-release
-Djava
.library.path
=
lib64/common/calculator:/usr/lib:/usr/lib:/usr/lib/x86_64-linux-gnu/jni
-Djava
.util.logging.config.file
=
conf/client/logging.properties
-jar
lib64/nomadmail.jar
"
$FILE
"
/usr/lib/jvm/jdk10.0.1/bin/java
-jar
lib64/nomadmail.jar
"[
`
hostname
`
][client] crash"
"
$content
"
sci@ill.fr
$NOMAD_MAIL
fi
fi
fi
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