Skip to content
New issue

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

Multiple problems on Linux platform. #129

Open
ertankucukoglu opened this issue Nov 19, 2022 · 1 comment
Open

Multiple problems on Linux platform. #129

ertankucukoglu opened this issue Nov 19, 2022 · 1 comment

Comments

@ertankucukoglu
Copy link

Hello,

I have a windows service project that I need to deploy on Linux. However, Linux Daemon example just runs, forks and halt. I could not see what I should be doing or how I should modify this example. There is no creating an object. There is no reference in uses section to a Server.Resources.pas which makes it more confusing for me to understand.

I could build and run command line example on Linux with the hope that it would be a semi-solution. However, this had problem with using /rest/default/token. GET requests served even using a browser (of course returning {"IsVerified":False} each time). However, POST requests simply timeouts. No other errors. I have my own logging in Authentication part in the Server.Resources.pas but that is never logged in files.

I know there are quite a number of people using MARS on Linux platform. I failed to do that myself.

I appreciate any help.

Thanks & Regards,
Ertan

@Prometian
Copy link

You can use systemd to run the example and run the service.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants