This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#/etc/init.d/vncserver | |
#!/bin/bash | |
PATH="$PATH:/usr/bin/" | |
export USER="YOUR_USER_NAME" | |
DISPLAY="1" | |
DEPTH="16" | |
GEOMETRY="1024x768" | |
OPTIONS="-depth ${DEPTH} -geometry ${GEOMETRY} :${DISPLAY}" | |
. /lib/lsb/init-functions |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
description "Apache Tika Server" | |
start on filesystem or runlevel [2345] | |
stop on shutdown | |
respawn | |
respawn limit 3 12 | |
exec java -jar /opt/tika/tika-server-1.11.jar |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# g_icons generate touch-icons and favicons | |
# It depends on Imagemagick | |
# USAGE: g_icons SOURCE_FILE TARGET_DIR | |
# | |
# | |
touch_icons=(57 60 72 76 114 120 144 152 180) | |
favicons=(16 32 96 160 192) |