Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
visimpl
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package Registry
Container Registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SimVisSuite
visimpl
Commits
43ea5d26
Commit
43ea5d26
authored
4 years ago
by
Felix de las Pozas
Browse files
Options
Downloads
Patches
Plain Diff
Add bash script to launch both applications from docker.
parent
05c265da
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.docker/simpart.sh
+10
-0
10 additions, 0 deletions
.docker/simpart.sh
.docker/stackviz.sh
+1
-1
1 addition, 1 deletion
.docker/stackviz.sh
.docker/visimpl.sh
+24
-9
24 additions, 9 deletions
.docker/visimpl.sh
with
35 additions
and
10 deletions
.docker/simpart.sh
0 → 100755
+
10
−
0
View file @
43ea5d26
#!/bin/bash
chmod
-R
-f
777 /tmp
chmod
-R
-f
777 /etc/avahi/
mkdir
-p
/var/run/avahi-daemon
chmod
-R
-f
777 /var/run/avahi-daemon/
echo
'*'
>
/etc/mdns.allow
service dbus start
>
/dev/null 2>&1
avahi-daemon
--daemonize
--no-drop-root
--no-rlimits
sleep
1
/usr/bin/visimpl
$@
This diff is collapsed.
Click to expand it.
.docker/stackviz.sh
+
1
−
1
View file @
43ea5d26
...
...
@@ -12,4 +12,4 @@ else
avahi-daemon
--daemonize
--no-drop-root
--no-rlimits
sleep
1
fi
/usr/bin/stackviz
/usr/bin/stackviz
$@
This diff is collapsed.
Click to expand it.
.docker/visimpl.sh
+
24
−
9
View file @
43ea5d26
#!/bin/bash
chmod
-R
-f
777 /tmp
chmod
-R
-f
777 /etc/avahi/
mkdir
-p
/var/run/avahi-daemon
chmod
-R
-f
777 /var/run/avahi-daemon/
echo
'*'
>
/etc/mdns.allow
service dbus start
>
/dev/null 2>&1
avahi-daemon
--daemonize
--no-drop-root
--no-rlimits
sleep
1
/usr/bin/visimpl
$@
for
var
in
"
$@
"
do
if
[[
$var
=
"--testFile"
]]
then
echo
"Aborted: --testFile parameter only valid for SimPart, unable to launch both SimPart and StackViz with those arguments."
exit
1
fi
done
if
pgrep
-x
"avahi-daemon"
>
/dev/null 2>&1
then
sleep
1
else
chmod
-R
-f
777 /tmp
chmod
-R
-f
777 /etc/avahi/
mkdir
-p
/var/run/avahi-daemon
chmod
-R
-f
777 /var/run/avahi-daemon/
echo
'*'
>
/etc/mdns.allow
service dbus start
>
/dev/null 2>&1
avahi-daemon
--daemonize
--no-drop-root
--no-rlimits
sleep
1
fi
/usr/bin/visimpl
$@
&
/usr/bin/stackviz
$@
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment