uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
19
nixos/modules/services/amqp/activemq/ActiveMQBroker.java
Normal file
19
nixos/modules/services/amqp/activemq/ActiveMQBroker.java
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
import org.apache.activemq.broker.BrokerService;
|
||||
import org.apache.activemq.broker.BrokerFactory;
|
||||
import java.net.URI;
|
||||
|
||||
public class ActiveMQBroker {
|
||||
|
||||
public static void main(String[] args) throws Throwable {
|
||||
URI uri = new URI((args.length > 0) ? args[0] : "xbean:activemq.xml");
|
||||
BrokerService broker = BrokerFactory.createBroker(uri);
|
||||
broker.start();
|
||||
if (broker.waitUntilStarted()) {
|
||||
broker.waitUntilStopped();
|
||||
} else {
|
||||
System.out.println("Failed starting broker");
|
||||
System.exit(-1);
|
||||
};
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue