[SailfishDevel] How to automatically start a daemon with systemd

Luca Donaggio donaggio at gmail.com
Fri Jan 24 09:41:40 UTC 2014

Hi all,

I'v written a small personal (not looking for harbour approval here) C++
app which periodically connects to a web service and displays some
information into a notification via DBus.

This is the .service file which I've deployed in /etc/systemd/user:

Description=My own daemon

ExecStart=/usr/bin/invoker --type=generic /usr/bin/myowndaemon


after the usual:

systemctl-user daemon-reload
systemctl-user start myowndaemon.service

it correctly starts.

Now if I issue a:

systemctl-user enable myowndaemon.service

and I reboot my Jolla, it doesn't automatically start.

This is my first attempt with systemd, I tried googling around but I didn't
find anything helpful.
Wht am I missing?

Thanks a lot,

Luca Donaggio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20140124/a518bc37/attachment.html>

More information about the Devel mailing list