prolog server on linux
Gabor Monostori <[email protected]>
| Newsgroups | gmane.comp.ai.prolog.swi |
|---|---|
| Message-ID | <CAN5Lht_P0rvNcZG8ixDJVct=rym5yhSyfznb1jWp9uTqc3cvuA@mail.gmail.com> |
Hi there, Can anybody help me with the following problem? We have a linux server, and we want to run our prolog server as a service. We would like to use upstart, the script now looks like this in /etc/init/myserver.conf: script exec sudo -u user "/home/user/myserver" end script and in myserver(prolog program saved by 'qsave_program') we start the http server automaticaly with : http_server(http_dispatch, [port(8000)]). But when typing sudo service myserver start I can see that the myserver started, but immediately receives a halt, and exits according to the log '/var/log/upstart/myserver.log'. Any idea what is wrong with the above? regards, Gabor -------------- next part -------------- HTML attachment scrubbed and removed