Automatic Service Assesment?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I am searching for a way to update individual services (that are running
as systemd units) in a robust way.

I want to stop my service, replace the executables and start a new
service without a full reboot. I'm looking for something like
https://systemd.io/AUTOMATIC_BOOT_ASSESSMENT/ on a systemd unit level
that will roll back to older versions of a service if the new version
doesn't work.

As far as I can tell this is currently not a feature of systemd? Did I
overlook something? Maybe there is a solution that someone has built on
top of systemd already that does this?

My current concept is putting my service binary into
/usr/bin/$servicename/$version/service_executable and then vary the
$version part of ExecStart= using template units. I still would have to
implement my own management that checks if a new version works and
enables/disables service versions accordingly.

Does a similar solution exist already?

Regards
Stefan Seering.
_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux