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)| var app = require(process.cwd() + '/app'); | |
| var winston = require('winston'); | |
| var _ = require('lodash'); | |
| // Set up logger | |
| var customColors = { | |
| trace: 'white', | |
| debug: 'green', | |
| info: 'green', | |
| warn: 'yellow', |
| #!/usr/bin/env python3 | |
| __author__ = "Klemen Tušar" | |
| __email__ = "techouse@gmail.com" | |
| __copyright__ = "GPL" | |
| __version__ = "1.0.1" | |
| __date__ = "2015-09-12" | |
| __status__ = "Production" | |
| import os.path, sqlite3, mysql.connector |
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
| apt-get install xvfb | |
| apt-get install firefox |
| import java.io.FileInputStream; | |
| import java.io.FileNotFoundException; | |
| import java.io.FileWriter; | |
| import java.io.IOException; | |
| import java.io.InputStreamReader; | |
| import java.io.UnsupportedEncodingException; | |
| import gherkin.formatter.JSONFormatter; | |
| import gherkin.formatter.JSONPrettyFormatter; | |
| import gherkin.parser.Parser; | |
| import gherkin.util.FixJava; |
| package laccetti.test; | |
| import org.apache.qpid.server.Broker; | |
| import org.apache.qpid.server.BrokerOptions; | |
| import com.google.common.io.Files; | |
| /** | |
| * We shouldn't need external things for testing | |
| */ |
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)This is a quick reference to get to Jolokia statistics urls for JBoss Fuse or JBoss A-MQ statistics. Sometimes, when you are interested in very specific attributes, it's easier to keep monitoring a specific url rather than loading the full Hawtio console.