Ubuntu Startup xsp4
Posted
by
Chin Ye
on Server Fault
See other posts from Server Fault
or by Chin Ye
Published on 2013-11-03T10:39:23Z
Indexed on
2013/11/11
15:58 UTC
Read the original article
Hit count: 327
when i type in terminal command are working fine
root@syscomp:/var/www/WebSite2# xsp4
xsp4
Listening on address: 0.0.0.0
Root directory: /var/www/WebSite2
Listening on port: 9000 (non-secure)
Hit Return to stop the server.
but i m using script in /etc/init/GPS_WebSite.conf
when the script are running fine, but not running in background when the script run one time and then closed,
that is why my mono server are not running all the time,
this is my GPS_WebSite.conf script, what i need to change to be running forever in background?
start on login-session-start
script
exec > /tmp/debug-my-script.txt 2>&1
sleep 10
cd /var/www/WebSite2
xsp4
end script
© Server Fault or respective owner