View Single Post
Posts: 1,548 | Thanked: 7,510 times | Joined on Apr 2010 @ Czech Republic
#348
Originally Posted by rinigus View Post
not implemented

Folks, but did you realize that Jolla Harbour approved an application that can act as a service, if requested by user? In particular, the socket activation required systemd service that is installed on users request in its home and enabled using user's permissions.
Yeah - I was also kinda surprised they accepted it as they are generally kinda edgy on less radical stuff. So certainly a big achievement!

Originally Posted by rinigus View Post
Note that, if you read Harbour FAQ, such approach seems to be in accordance with them. No special files are installed in the system, there are not scripts in RPM spec file, and so on.
Yeah - as nothing should be started until connections start coming in, it really should be fine. This is also heavily used in "normal" Linux distros such as Fedora, so the mechanism is pretty well tested and robust by now.

Originally Posted by rinigus View Post
Maybe its a way to provide such applications in future as well?
Yeah - I can imagine quite a few other cases where a network accessible daemon could be used to provide functionality to various client applications. Maybe for example a IM daemon the various IM apps could use as a backend as long as it's still not possible (IIRC) to really contribute improvements to the built-in messaging system (which is quite nice, but missing fat to many features and seem to be long term neglected). Or a socket activated speech to text/text to speech service apps can use, etc.
__________________
modRana: a flexible GPS navigation system
Mieru: a flexible manga and comic book reader
Universal Components - a solution for native looking yet component set independent QML appliactions (QtQuick Controls 2 & Silica supported as backends)
 

The Following 5 Users Say Thank You to MartinK For This Useful Post: