We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
用 TCrossHttpServer 做了个 http 服务,打算在 ubuntu 下跑,现在在 shell 下直接跑没问题,但是加 & ,想在后台运行,跑不起来,这个怎么办?
try with TAppServer.Create do try Start(); Writeln(APP_NAME, ' start at port: ', HttpServer.Port, ', IO threads: ', HttpServer.IoThreads); Writeln('Press Enter stop'); Readln; Stop(); Writeln(APP_NAME, ' stopped'); Writeln('Press Enter exit'); Readln; finally Free; end; except on E: Exception do Writeln(APP_NAME + ' exception => ' + E.ClassName, ': ', E.Message); end;
The text was updated successfully, but these errors were encountered:
可以使用这个开源弄成守护程序: https://github.com/EvgeniyKorepov/LinuxDaemonNewStyle
Sorry, something went wrong.
http://www.ruanyifeng.com/blog/2016/03/systemd-tutorial-commands.html
No branches or pull requests
用 TCrossHttpServer 做了个 http 服务,打算在 ubuntu 下跑,现在在 shell 下直接跑没问题,但是加 & ,想在后台运行,跑不起来,这个怎么办?
The text was updated successfully, but these errors were encountered: