* [gentoo-commits] gentoo-x86 commit in dev-dotnet/xsp/files/1.2.6: mod-mono-server.confd xsp.confd xsp.initd mod-mono-server.initd
@ 2007-12-14 20:10 Jurek Bartuszek (jurek)
0 siblings, 0 replies; 2+ messages in thread
From: Jurek Bartuszek (jurek) @ 2007-12-14 20:10 UTC (permalink / raw
To: gentoo-commits
jurek 07/12/14 20:10:32
Added: mod-mono-server.confd xsp.confd xsp.initd
mod-mono-server.initd
Log:
dev-dotnet/xsp-1.2.6: version bump
(Portage version: 2.1.3.19)
Revision Changes Path
1.1 dev-dotnet/xsp/files/1.2.6/mod-mono-server.confd
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-dotnet/xsp/files/1.2.6/mod-mono-server.confd?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-dotnet/xsp/files/1.2.6/mod-mono-server.confd?rev=1.1&content-type=text/plain
Index: mod-mono-server.confd
===================================================================
# Config file for /etc/init.d/mod-mono-server
# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/xsp/files/1.2.6/mod-mono-server.confd,v 1.1 2007/12/14 20:10:31 jurek Exp $
# Configuration directives for mod-mono-server.exe. For more information on
# these variables, see the man page for xsp(1).
# This is the document root; trailing slash is not necessary
#MonoServerRootDir="/usr/lib/xsp/test"
# Directory to search for files with an `.webapp' extension.
#MonoApplicationsConfigDir="/usr/lib/xsp/test"
# Comma separated list of directories (in the form virtual:real) for all
# applications managed by the server. For example:
# /app1:/var/www/localhost/htdocs/app1,/app2:/var/www/localhost/htdocs/app2
MonoApplications="/mono:/usr/lib/xsp/test"
# The communication channel used between mod-mono-server and mod_mono.
# unix - A unix socket
# tcp - A TCP connection
MonoServerChannel="unix"
# When the comm. channel is "unix", the local filename used by the socket.
UnixSocketFileName="/tmp/mod_mono_server"
# When the comm. channel is "tcp", IP address for the server to listen on.
#MonoServerAddress=127.0.0.1
# When the comm. channel is "tcp", port for the server to listen on.
#MonoServerPort=8080
# If you want to host .NET 2.0 applications you have to set this to 2.
# Otherwise, leave it unchaged
MonoServerVersion=1
1.1 dev-dotnet/xsp/files/1.2.6/xsp.confd
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-dotnet/xsp/files/1.2.6/xsp.confd?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-dotnet/xsp/files/1.2.6/xsp.confd?rev=1.1&content-type=text/plain
Index: xsp.confd
===================================================================
# Config file for /etc/init.d/xsp
# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/xsp/files/1.2.6/xsp.confd,v 1.1 2007/12/14 20:10:31 jurek Exp $
# This is the document root; trailing slash is not necessary
MonoServerRoot=/usr/lib/xsp/test
# Port for the server to run on
MonoServerPort=8000
# If you want to host .NET 2.0 applications you have to set this to 2.
# Otherwise, leave it unchanged
MonoServerVersion=1
1.1 dev-dotnet/xsp/files/1.2.6/xsp.initd
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-dotnet/xsp/files/1.2.6/xsp.initd?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-dotnet/xsp/files/1.2.6/xsp.initd?rev=1.1&content-type=text/plain
Index: xsp.initd
===================================================================
#!/sbin/runscript
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/xsp/files/1.2.6/xsp.initd,v 1.1 2007/12/14 20:10:31 jurek Exp $
depend() {
need net
after dotnet
}
start() {
ebegin "Starting xsp"
if [ ${MonoServerVersion} -eq 1 ]; then
xsppath=1.0/xsp.exe
elif [ ${MonoServerVersion} -eq 2 ]; then
xsppath=2.0/xsp2.exe
else
eerror "MonoServerVersion was not properly set. Check your config file"
return 1
fi
start-stop-daemon --quiet --start \
--background \
--make-pidfile \
--pidfile /var/run/aspnet/xsp.pid \
--chuid aspnet \
--exec /usr/bin/mono /usr/lib/mono/${xsppath} -- --root ${MonoServerRoot} --port ${MonoServerPort} --nonstop
eend $?
}
stop() {
ebegin "Stopping xsp"
start-stop-daemon -o --quiet --stop \
--pidfile /var/run/aspnet/xsp.pid
eend $?
}
1.1 dev-dotnet/xsp/files/1.2.6/mod-mono-server.initd
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-dotnet/xsp/files/1.2.6/mod-mono-server.initd?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-dotnet/xsp/files/1.2.6/mod-mono-server.initd?rev=1.1&content-type=text/plain
Index: mod-mono-server.initd
===================================================================
#!/sbin/runscript
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-dotnet/xsp/files/1.2.6/mod-mono-server.initd,v 1.1 2007/12/14 20:10:31 jurek Exp $
depend() {
use net
after dotnet
}
start() {
[ -z "$MonoServerRootDir" ] && \
MonoServerRootDir="/usr/lib/xsp/test"
[ -z "$MonoApplications" ] && \
MonoApplications="/mono:/usr/lib/xsp/test,/:."
[ -z "$UnixSocketFileName" ] && \
UnixSocketFileName="/tmp/mod_mono_server"
[ -z "$MonoServerAddress" ] && \
MonoServerAddress=127.0.0.1
[ -z "$MonoServerPort" ] && \
MonoServerPort=8080
[ -z "$MonoServerVersion" ] && \
MonoServerVersion=1
MONO_SERVER_OPTS="--root ${MonoServerRootDir} \
--applications ${MonoApplications} --nonstop"
[ -n "$MonoApplicationsConfigDir" ] && \
MONO_SERVER_OPTS="${MONO_SERVER_OPTS} \
--appconfigdir ${MonoApplicationsConfigDir}"
case "$MonoServerChannel" in
"tcp" )
MONO_SERVER_OPTS="${MONO_SERVER_OPTS} \
--address ${MonoServerAddress} --port ${MonoServerPort}"
;;
"unix" )
[ -f "$UnixSocketFileName" ] && rm -f $UnixSocketFileName
MONO_SERVER_OPTS="${MONO_SERVER_OPTS} \
--filename ${UnixSocketFileName}"
;;
* )
eerror "Please set a valid value for MonoServerChannel"
return 1
;;
esac
if [ ${MonoServerVersion} -eq 1 ]; then
modmonoserverpath=1.0/mod-mono-server.exe
elif [ ${MonoServerVersion} -eq 2 ]; then
modmonoserverpath=2.0/mod-mono-server2.exe
else
eerror "MonoServerVersion was not properly set. Check your /etc/conf.d/xsp"
return 1
fi
export MONO_SHARED_DIR=/tmp
ebegin "Starting mod-mono-server"
start-stop-daemon --quiet --start \
--background \
--make-pidfile \
--pidfile /var/run/aspnet/mod-mono-server.pid \
--chuid aspnet \
--exec /usr/bin/mono /usr/lib/mono/${modmonoserverpath} \
-- $MONO_SERVER_OPTS
eend $?
}
stop() {
ebegin "Stopping mod-mono-server"
start-stop-daemon -o --quiet --stop \
--pidfile /var/run/aspnet/mod-mono-server.pid
eend $?
}
--
gentoo-commits@gentoo.org mailing list
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in dev-dotnet/xsp/files/1.2.6: mod-mono-server.confd xsp.confd xsp.initd mod-mono-server.initd
@ 2010-10-07 20:05 Pacho Ramos (pacho)
0 siblings, 0 replies; 2+ messages in thread
From: Pacho Ramos (pacho) @ 2010-10-07 20:05 UTC (permalink / raw
To: gentoo-commits
pacho 10/10/07 20:05:16
Removed: mod-mono-server.confd xsp.confd xsp.initd
mod-mono-server.initd
Log:
Remove old.
(Portage version: 2.1.8.3/cvs/Linux x86_64)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-10-07 20:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-12-14 20:10 [gentoo-commits] gentoo-x86 commit in dev-dotnet/xsp/files/1.2.6: mod-mono-server.confd xsp.confd xsp.initd mod-mono-server.initd Jurek Bartuszek (jurek)
-- strict thread matches above, loose matches on Subject: below --
2010-10-07 20:05 Pacho Ramos (pacho)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox