[SailfishDevel] Creating daemons

David Greaves david.greaves at jollamobile.com
Tue May 7 19:56:00 UTC 2013


On 07/05/13 19:37, Shantanu Tushar Jha wrote:
> Hi,
> 
> I'm trying to run one of my harmattan apps using Sailfish SDK. My app consists
> of a daemon and a UI app which communicate with each other. I couldn't find any
> info on how to create daemons on Sailfish/nemo. Any pointers?

In general daemons are run using systemd. We use systemd user sessions.

This typically makes writing a daemon easier as it does not need to worry about
forking or respawning.

Lots of detail here:
  http://www.freedesktop.org/software/systemd/man/daemon.html

David



More information about the Devel mailing list