Ubuntu Startup xsp4
- by Chin Ye
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