Skip to content

Instantly share code, notes, and snippets.

View amardomingo's full-sized avatar

Alberto Mardomingo amardomingo

View GitHub Profile
@amardomingo
amardomingo / mc-init
Last active August 29, 2015 14:11
Based on pahimar's ForgeCraft-Script, init script for a minecraft server
#!/bin/bash
# /etc/init.d/minecraft
# version 0.4.1 2014-12-07 (YYYY-MM-DD)
### BEGIN INIT INFO
# Provides: minecraft
# Required-Start: $local_fs $remote_fs
# Required-Stop: $local_fs $remote_fs
# Should-Start: $network
# Should-Stop: $network