Skip to content

Instantly share code, notes, and snippets.

View Itaqua's full-sized avatar

Octavio Luna Itaqua

View GitHub Profile
@Itaqua
Itaqua / play_ubuntu_init.sh
Created October 10, 2012 14:34 — forked from bihe/init.d play
init.d script to launch Play framework under Ubuntu
#!/bin/bash
# Nov. 2012
# Octavio Luna & Arturo Lopez
### BEGIN INIT INFO
## END INIT INFO
# Launch play 1.x as a service
# Install
# sudo update-rc.d play_ubuntu_init.sh defaults 80
#
@Itaqua
Itaqua / play_centos_init.sh
Last active December 16, 2018 15:52 — forked from THemming/gist:2173037
init.d script to launch Play framework under CentOS/RedHat
#!/bin/bash
# chkconfig: 345 84 80
# description: Play start/shutdown script
# processname: play
#
# author: Octavio Luna
# email: [email protected]
#
# Instalation:
# copy file to /etc/init.d