in case somebody requires an update of the script for running ubooquity 2.0.2 on a synology NAS, here is mine. The procedure of installation is already described in the tutorial (look in the FAQ). This script is meant to go in :
This is tested and it's working on my Synology DS212 [the NAS is quite old but it's still able to run ubooquity without (much) issue]
Here is the code, don't forget to adapt to your environnement, especially the installation folders: WORK_DIR, PCKG_DIR
and network and memory settings
# app settings
# description: upstart job configuration file for automatically
# starting ubooquity when syno starts
# title :ubooquity.conf
# date :16 05 2017
# version : 2.0.2 (tested for ubooquity version...)
# original source: ubooquity forum about special characters
description "start/stop Ubooquity"
author "Elouan Le Bretton"
version "Ubooquity Version 2.0.2; java version 1.8.0_121 "
# automatically start ubooquity after webserver has been started
# DSM 5.0 = httpd-user (apache); DSM 6.0 = nginx
start on started nginx
# stop ubooquity on
stop on runlevel 
# Automatically respawn if ubooquity stops unexpetedly
respawn limit 5 500
# expect stop [this seems to be expected sometime but requires testing to be sure)
# run the scripts as the 'http' user; because running as root (the default) is a bad idea.
# installation settings
# app settings
# This ensures that ubooquity reads special characters properly
# Main command for ubooquity
exec "$JAVA_DIR/java" -Dfile.encoding=$ENCO -Xmx$MEM -jar $PCKG_DIR/$PCKG_BIN --libraryport $PORT --workdir "$WORK_DIR" --adminport $ADMINPORT --remoteadmin --headless
Customer support service by UserEcho