FT3 Posted November 9, 2012 Author Report Share Posted November 9, 2012 (edited) paldies , palasiju google vairak par screen viss sanāca caur putty bet ja palaižu caur php exec('cd /home/galvena/gameserveris ; screen -dmS nosaukums sh start.sh); ienākot caur putty screenu neuzrāda. bet serveris palaižas kur varētu būt vaina. un gribu izslēgt caur php uzmet kļūdu : Must be connected to a terminal. exec('cd /home/galvena/gameserveris ; screen -r nosaukums ; stop'); Edited November 9, 2012 by FT3 Quote Link to comment Share on other sites More sharing options...
FT3 Posted November 9, 2012 Author Report Share Posted November 9, 2012 bump Quote Link to comment Share on other sites More sharing options...
marrtins Posted November 9, 2012 Report Share Posted November 9, 2012 Tev vajag screen -d -m <komanda> Quote Link to comment Share on other sites More sharing options...
FT3 Posted November 12, 2012 Author Report Share Posted November 12, 2012 (edited) exec('cd /home/galvena/gameserveris ; screen -d -m -dmS nosaukums sh start.sh); bez izmaiņam screenu neparada. Edited November 12, 2012 by FT3 Quote Link to comment Share on other sites More sharing options...
v3rb0 Posted November 12, 2012 Report Share Posted November 12, 2012 webserveris php darbina kā useris A, ar putty pieslēdzies kā useris B, katram savs screen. Quote Link to comment Share on other sites More sharing options...
FT3 Posted November 12, 2012 Author Report Share Posted November 12, 2012 webserveris php darbina kā useris A, ar putty pieslēdzies kā useris B, katram savs screen. bet nu caur php es sūtu comandu uz serveri kura izveido sessiju. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.