diff options
author | Petr Vaněk <arkamar@gentoo.org> | 2024-09-18 21:40:10 +0200 |
---|---|---|
committer | Petr Vaněk <arkamar@gentoo.org> | 2024-09-18 22:25:06 +0200 |
commit | 680e0f34cbb1c09e35790881643cbc56d9bf7690 (patch) | |
tree | d1e14ff2293d6f99ed8d6364a96a9bca48d47fb4 /www-servers | |
parent | dev-libs/dynolog: gcc15 (diff) | |
download | gentoo-680e0f34cbb1c09e35790881643cbc56d9bf7690.tar.gz gentoo-680e0f34cbb1c09e35790881643cbc56d9bf7690.tar.bz2 gentoo-680e0f34cbb1c09e35790881643cbc56d9bf7690.zip |
www-servers/xsp: remove unused file
Signed-off-by: Petr Vaněk <arkamar@gentoo.org>
Diffstat (limited to 'www-servers')
-rw-r--r-- | www-servers/xsp/files/2.2/mod-mono-server.initd | 80 |
1 files changed, 0 insertions, 80 deletions
diff --git a/www-servers/xsp/files/2.2/mod-mono-server.initd b/www-servers/xsp/files/2.2/mod-mono-server.initd deleted file mode 100644 index fb1c44935e09..000000000000 --- a/www-servers/xsp/files/2.2/mod-mono-server.initd +++ /dev/null @@ -1,80 +0,0 @@ -#!/sbin/openrc-run -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -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 $? -} |