summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2014-10-24 13:30:25 +0200
committerChristian Pointner <equinox@spreadspace.org>2014-10-24 14:29:37 +0200
commit43181850e0324bd0ede0e9b9126b069a38449ada (patch)
treebe34d0c61469ce248a7d76c821f0521b25498553
parentupdated changelog for release (diff)
added launcher scripts
-rwxr-xr-xscripts/client/sydra-launch.sh12
-rw-r--r--scripts/client/sydra.desktop7
-rwxr-xr-xscripts/ctrlroom/sydra-launch.sh8
3 files changed, 27 insertions, 0 deletions
diff --git a/scripts/client/sydra-launch.sh b/scripts/client/sydra-launch.sh
new file mode 100755
index 0000000..0bd872c
--- /dev/null
+++ b/scripts/client/sydra-launch.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+if [ -e "~/e14/supervisord.pid" ]; then
+ kill `cat ~/e14/supervisord.pid`
+fi
+sleep 1
+mkdir -p ~/e14/logs
+cd ~/e14/
+supervisord -c supervisord.conf
+firefox http://localhost:9001/ &
+
+exit 0
diff --git a/scripts/client/sydra.desktop b/scripts/client/sydra.desktop
new file mode 100644
index 0000000..08b4408
--- /dev/null
+++ b/scripts/client/sydra.desktop
@@ -0,0 +1,7 @@
+[Desktop Entry]
+Name=sydra
+Exec=/home/elevate/e14/sydra-launch.sh
+Type=Application
+StartupNotify=false
+Name[en]=Sydra Client
+Name[de]=Sydra Client
diff --git a/scripts/ctrlroom/sydra-launch.sh b/scripts/ctrlroom/sydra-launch.sh
new file mode 100755
index 0000000..b5906e1
--- /dev/null
+++ b/scripts/ctrlroom/sydra-launch.sh
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+sleep 3
+mkdir -p /home/equinox/e14sydra/logs
+cd /home/equinox/e14sydra/
+supervisord -c supervisord.conf
+
+exit 0