Look at LSB init scripts for more information.
Copy to /etc/init.d:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)| buildscript { | |
| repositories { | |
| jcenter() | |
| } | |
| dependencies { | |
| classpath 'org.asciidoctor:asciidoctor-gradle-plugin:1.5.2' | |
| classpath 'org.asciidoctor:asciidoctorj-pdf:1.5.0-alpha.6' | |
| classpath 'com.github.jruby-gradle:jruby-gradle-plugin:0.1.11' | |
| classpath 'com.github.ben-manes:gradle-versions-plugin:0.7' |
| ################################################ | |
| # Dockerfile to run Groovy containers | |
| # Based on Java 8 image | |
| ################################################ | |
| FROM java:8u40-jdk | |
| MAINTAINER Cédric Champeau | |
| # Install GVM |
Look at LSB init scripts for more information.
Copy to /etc/init.d:
# replace "$YOUR_SERVICE_NAME" with your service's name (whenever it's not enough obvious)