Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • D Demonstrator - Reasoning WebAPI
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 4
    • Issues 4
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • cogsyscogsys
  • Dare2DelDare2Del
  • Demonstrator - Reasoning WebAPI
  • Issues
  • #58
Closed
Open
Issue created May 17, 2021 by Sebastian Seufert@sebastian.seufertMaintainer

Support for running as daemon under *nix

When the API is started as daemon it quits/fails.
Assumption is this is due to SWI's expected environment during runtime / when starting as default REPL with stdio (case at hand: this student-project for which @klaus.stein tried to run a stripped version of the API in a docker container).

@michael.siebers this might be a somewhat easy fix, c.f. the library-support for http-daemons here.
Do you see any problems I might not see if we used this as wrapper around web_api.pl?


Thinking ahead on what might be a problem:

We deliberately ignored anything related to multiuser/threading issues, so could it be possible for the container to be configured s.t. it spawns separate isolated daemon-processes if needed? @klaus.stein
(I know this is not all that needs to be considered...)

Edited May 17, 2021 by Sebastian Seufert
Assignee
Assign to
Time tracking