summaryrefslogtreecommitdiffstats
path: root/Services/ooconv/sx
diff options
context:
space:
mode:
authorstartxfr <clarue@startx.fr>2015-11-29 23:52:56 +0100
committerstartxfr <clarue@startx.fr>2015-11-29 23:52:56 +0100
commitd3189d55206417557b03fde732693aaffca54cf8 (patch)
tree1c3d7ea129879cbff7cb534a4222ee13aadb6f3e /Services/ooconv/sx
parenta4930f0838f1224bdf4fa0885e858e7a865513ca (diff)
downloadphpmyadmin-d3189d55206417557b03fde732693aaffca54cf8.tar.gz
phpmyadmin-d3189d55206417557b03fde732693aaffca54cf8.tar.bz2
phpmyadmin-d3189d55206417557b03fde732693aaffca54cf8.tar.xz
phpmyadmin-d3189d55206417557b03fde732693aaffca54cf8.zip
bugfix for mongo service and reshapping of ooconv
Diffstat (limited to 'Services/ooconv/sx')
-rw-r--r--Services/ooconv/sx/ooconv.sh40
-rw-r--r--Services/ooconv/sx/ooconv_run.sh7
2 files changed, 0 insertions, 47 deletions
diff --git a/Services/ooconv/sx/ooconv.sh b/Services/ooconv/sx/ooconv.sh
deleted file mode 100644
index b41447c..0000000
--- a/Services/ooconv/sx/ooconv.sh
+++ /dev/null
@@ -1,40 +0,0 @@
-#!/bin/bash
-export TERM=dumb
-
-# Begin configuration before starting daemonized process
-# and start generating host keys
-function begin_config {
- echo "=> Begin ooconv configuration for host $HOSTNAME"
-}
-
-# End configuration process just before starting daemon
-function end_config {
- echo "=> End ooconv configuration ..."
-}
-
-# Start the ooconv server in background. Used to perform config
-# against the database structure such as user creation
-function start_server {
- echo "===> Starting ooconv server ..."
- unoconv --listener &
- sleep 4
-}
-
-# Stop the ooconv server running in background.
-function stop_server {
- echo "===> Stopping ooconv server ..."
- killall unoconv
- killall soffice.bin
-}
-
-# Start the ooconv server as a deamon and execute it inside
-# the running shell
-function start_daemon {
- echo "=> Starting ooconv daemon ..."
- exec unoconv --listener
-}
-
-
-if [[ "$0" == *"ooconv.sh" && ! $1 = "" ]];then
- eval "$@";
-fi \ No newline at end of file
diff --git a/Services/ooconv/sx/ooconv_run.sh b/Services/ooconv/sx/ooconv_run.sh
deleted file mode 100644
index fadc29c..0000000
--- a/Services/ooconv/sx/ooconv_run.sh
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/bash
-source /sx/ooconv.sh
-
-begin_config
-end_config
-
-start_daemon \ No newline at end of file