|
|
| |
start() { | start() { |
ebegin "Starting xsp" | ebegin "Starting xsp" |
|
if [ -e /tmp/.wapi ]; then |
|
chown aspnet:aspnet /tmp/.wapi |
|
fi |
| |
start-stop-daemon --quiet --start \ | start-stop-daemon --quiet --start \ |
--background \ | --background \ |
--make-pidfile \ | --make-pidfile \ |
--pidfile /var/run/aspnet/xsp.pid \ | --pidfile /var/run/aspnet/xsp.pid \ |
--chuid aspnet \ | --chuid aspnet \ |
--exec /usr/bin/mono /usr/lib/mono/1.0/xsp.exe -- --root ${MonoServerRoot} --port ${MonoServerPort} --nonstop |
--exec /usr/bin/mono /usr/lib/xsp/1.0/xsp.exe -- --root ${MonoServerRoot} --port ${MonoServerPort} --nonstop |
eend $? | eend $? |
} | } |
| |