Skip to content

Instantly share code, notes, and snippets.

@jweyrich
jweyrich / glassfish
Last active November 2, 2018 08:50
/etc/init.d/glassfish - Glassfish init.d script (tested on Ubuntu 14.04.4 LTS)
#! /bin/sh
### BEGIN INIT INFO
# Provides: glassfish
# Required-Start: $local_fs $remote_fs $syslog $network
# Required-Stop: $local_fs $remote_fs $syslog $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Start Glassfish at boot time
# Description: Enable service provided by Glassfish
### END INIT INFO