Ticket #63 (closed feature: implemented)

Opened 4 years ago

Last modified 4 years ago

Support daemonized mainapp

Reported by: tim Owned by: tim
Priority: major Milestone: 0.3
Component: Fawkes Version:
Keywords: Base, Daemon Cc:
Git Branch:

Description

Currently Fawkes always run in the foreground. To allow for safe running over a remote SSH connection screen has to be used. Suspicion was in Suzhou that there have been screen-related problems on the Nao that caused some trouble as soon as the network cable was unplugged.

To make it easier to automatically start Fawkes when the robot boots up and to allow for easier running without screen the Fawkes main application should support a daemonized mode. In this mode Fawkes should automatically start into the background.

The idea is to use libdaemon to implement these features. libdaemon is already a requirement for Avahi and thus should be available on all target platforms anyway. It also saves code that is necessary for successful forking/daemonizing. The daemonize support should be made optional such that libdaemon is an optional requirement.

I'm going to work on this now now, as this should be an easy one to get started again after Suzhou 2008...

Change History

Changed 4 years ago by tim

  • status changed from new to assigned

Changed 4 years ago by tim

  • status changed from assigned to closed
  • resolution set to implemented

Implemented in r1290.

Note: See TracTickets for help on using tickets.

This list contains all users that will be notified about changes made to this ticket.

These roles will be notified: Reporter, Subscriber, Participant

  • Fawkes Trac List(Always)
  • Tim Niemueller(Reporter, Owner, Participant)