0install system integrations

Mildred Ki'Lya <[email protected]> Fri, 2 Jun 2017 12:29:04 +0200
Newsgroups gmane.comp.file-systems.zero-install.devel
Message-ID <20170602122904.6e3e3c7b@moiraine>
Hello,

Like a previous message, I'd like to have systemd integration with 0install. Except I don't want to integrate with the user systemd daemon but with the system daemon. I want to run system services with 0install.

It is already possible to create a systemd unit from scratch and invoke 0install from within. However, I'd like to distribute this systemd unit with the program itself, so it is easy to use.

As suggested, it would be possible to create an additional tool that can look at specific instructions in the XML feed, however there is one thing that I don't know if it is possible to do without modifying 0install itself. How about software updates?

What happens when the feed contains a new version and 0install downloads it. systemd units (or anything else that deals with system integration) would have to be rewritten. Is there a way to hook into that particular moment?

It's not like desktop applications where the application is not supposed to run forever. System services are constantly running and `systemctl daemon-reload` must be called, and the service restarted.

How do you see we can implement that?

Thank you.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot