diff options
Diffstat (limited to 'package/tntnet/files')
| -rw-r--r-- | package/tntnet/files/mime.conf | 22 | ||||
| -rw-r--r-- | package/tntnet/files/tntnet.conffiles | 3 | ||||
| -rw-r--r-- | package/tntnet/files/tntnet.init | 27 | ||||
| -rw-r--r-- | package/tntnet/files/tntnet.postinst | 6 | ||||
| -rw-r--r-- | package/tntnet/files/tntnet.properties | 31 | ||||
| -rw-r--r-- | package/tntnet/files/tntnet.xml | 49 | 
6 files changed, 0 insertions, 138 deletions
| diff --git a/package/tntnet/files/mime.conf b/package/tntnet/files/mime.conf deleted file mode 100644 index bab84a83d..000000000 --- a/package/tntnet/files/mime.conf +++ /dev/null @@ -1,22 +0,0 @@ -DefaultType text/html -AddType text/plain	.txt -AddType text/html	.html .htm .xhtml -AddType image/png	.png -AddType image/gif	.gif -AddType image/bmp	.bmp -AddType application/x-tar	.tgz -AddType image/jpeg		.jpeg .jpg -AddType image/tif  .tif .tiff -AddType text/css	.css -AddType text/plain	.asc -AddType text/rtf	.rtf -AddType video/mpeg	.mpeg .mpg .mpe -AddType application/x-javascript	.js -AddType application/msword	.doc .dot -AddType application/pdf	.pdf -AddType application/postscript	.ps .ai .eps -AddType application/vnd.ms-excel	.xls .xlb -AddType application/vnd.ms-powerpoint	.ppt .pps .pot -AddType application/zip	.zip -AddType application/x-gtar	.gtar .tgz .taz -AddType application/x-java-archive	.jar diff --git a/package/tntnet/files/tntnet.conffiles b/package/tntnet/files/tntnet.conffiles deleted file mode 100644 index def08bf81..000000000 --- a/package/tntnet/files/tntnet.conffiles +++ /dev/null @@ -1,3 +0,0 @@ -/etc/tntnet/tntnet.conf -/etc/tntnet/tntnet.properties -/etc/tntnet/mime.conf diff --git a/package/tntnet/files/tntnet.init b/package/tntnet/files/tntnet.init deleted file mode 100644 index 01bb7a00b..000000000 --- a/package/tntnet/files/tntnet.init +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/sh -#PKG tntnet -#INIT 90 -. /etc/rc.conf - -case $1 in -autostop) ;; -autostart) -	test x"${tntnet:-NO}" = x"NO" && exit 0 -	test x"$tntnet" = x"DAEMON" && test -x /bin/mksh && exec mksh -T- $0 start -	exec sh $0 start -	;; -start) -	/usr/bin/tntnet /etc/tntnet/tntnet.conf -  	;; -stop) -	kill $(pgrep -f /usr/bin/tntnet) -	;; -restart) -	sh $0 stop -	sh $0 start -	;; -*) -	echo "usage: $0 {start | stop | restart}" -	;; -esac -exit $? diff --git a/package/tntnet/files/tntnet.postinst b/package/tntnet/files/tntnet.postinst deleted file mode 100644 index 7bdfea5bd..000000000 --- a/package/tntnet/files/tntnet.postinst +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/sh -. $IPKG_INSTROOT/etc/functions.sh -add_rcconf tntnet NO -gid=$(get_next_gid) -add_group tntnet $gid -add_user tntnet $(get_next_uid) $gid /www diff --git a/package/tntnet/files/tntnet.properties b/package/tntnet/files/tntnet.properties deleted file mode 100644 index 3e1006411..000000000 --- a/package/tntnet/files/tntnet.properties +++ /dev/null @@ -1,31 +0,0 @@ -# sample logging-properties for application tntnet -# put this in tntnet.properties and use: -#   log_init("tntnet.properties"); -# in your application to initialize logging -# -# define categories with: -#   log_define("some.category") -# this defines a static function, so you must put it outside other functions. -# you can define a category per file or a category per namespace. -# -# print logging-messages with: -#   log_fatal("some fatal message"); -#   log_error("some error message"); -#   log_warn("some warn message"); -#   log_info("some info message"); -#   log_debug("some debug message"); -# -rootLogger=INFO - -# define logger-categories -logger.tntnet=INFO - -file=/var/log/tntnet.log -maxfilesize=1MB -maxbackupindex=10 -flushdelay=100  # delay write in milliseconds -#host=localhost:1234  # send log-messages with udp -#disabled=1  # disable logging -#logprocess=1  # log in separate process -#logprocesuser=someuser  # change to user in log process -#logprocesgroup=somegroup  # change to group in log process diff --git a/package/tntnet/files/tntnet.xml b/package/tntnet/files/tntnet.xml deleted file mode 100644 index 2d4f160d1..000000000 --- a/package/tntnet/files/tntnet.xml +++ /dev/null @@ -1,49 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<tntnet> -  <mappings> -    <mapping> -      <target>static@tntnet</target> -      <url>(.*)/$</url> -      <pathinfo>/$1/index.html</pathinfo> -    </mapping> -    <mapping> -      <target>static@tntnet</target> -      <url>^/(.*)$</url> -      <pathinfo>/$1</pathinfo> -    </mapping> -  </mappings> - -  <listeners> -    <listener> -      <ip>0.0.0.0</ip> -      <port>80</port> -    </listener> -  </listeners> - -  <daemon>1</daemon> -  <user>tntnet</user> -  <group>tntnet</group> -  <maxRequestSize>1048576</maxRequestSize> -  <pidFile>/var/run/tntnet.pid</pidFile> -  <minThreads>2</minThreads> -  <maxThreads>4</maxThreads> -  <documentRoot>/www</documentRoot> -  <compPath> -    <entry>/usr/lib/tntnet</entry> -  </compPath> -  <logging> -    <rootlogger>INFO</rootlogger> -    <loggers> -      <logger> -        <category>tntnet</category> -        <level>INFO</level> -      </logger> -    </loggers> -    <!-- <file>tntnet.log</file> -->      <!--uncomment if you want to log to a file --> -    <!-- <maxfilesize>1MB</maxfilesize> --> -    <!-- <maxbackupindex>2</maxbackupindex> --> -    <!-- <host>localhost:1234</host> --> <!--  # send log-messages with udp --> -  </logging> - -  <include>/etc/tntnet/mime.conf</include> -</tntnet> | 
