source: Docker.entrypoint.sh @ 447e29e

Last change on this file since 447e29e was 7f9a211, checked in by meeh <meeh@…>, 3 years ago

Adding Dockerfile with support files to build a minimal docker image running i2p.

  • Property mode set to 100644
File size: 400 bytes
Line 
1#!/bin/sh
2
3export JAVA_HOME=/opt/jdk/jre
4
5# Ensure user rights
6chown -R i2p:nobody /opt/i2p
7chmod -R u+rwx /opt/i2p
8
9gosu i2p /opt/i2p/i2psvc /opt/i2p/wrapper.config wrapper.pidfile=/var/tmp/i2p.pid \
10   wrapper.name=i2p \
11   wrapper.displayname="I2P Service" \
12   wrapper.statusfile=/var/tmp/i2p.status \
13   wrapper.java.statusfile=/var/tmp/i2p.java.status \
14   wrapper.logfile=/var/tmp/wrapper.log
Note: See TracBrowser for help on using the repository browser.