forked from 0k/0k-charms
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
465 B
18 lines
465 B
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
config-add "\
|
|
services:
|
|
$MASTER_BASE_SERVICE_NAME:
|
|
command:
|
|
- \"start-py3o-renderserver\"
|
|
- \"--java=/usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/server/libjvm.so\"
|
|
- \"--ure=/usr/share\"
|
|
- \"--office=/usr/lib/libreoffice\"
|
|
- \"--driver=juno\"
|
|
- \"--sofficeport=8997\"
|
|
- \"--sofficehost=$MASTER_TARGET_SERVICE_NAME\"
|
|
volumes:
|
|
- $HOST_DATASTORE/$MASTER_TARGET_SERVICE_NAME/tmp:/tmp
|
|
"
|