3 ms·
Java is notorious, even with systemd. The biggest problem with java is knowing when the service is started. And that's actually a problem with other clustered
by INTPenis 11y ago
Java is notorious, even with systemd.
The biggest problem with java is knowing when the service is started. And that's actually a problem with other clustered services like wsrep in mariadb for example. You need to get an OK from the service, by checking logs or APIs, before you know that the restart worked.
So services like that will always require an added layer of abstraction. But that's not the norm, far from it.
- JdeBP 11y agoOn the contrary, and as I already said, in some fields it appears that it is. Moreover, as demonstrated, those services do not require all of that extra layering. Indeed, it actively breaks functionality. Ironically, MariaDB is not one of those fields, and your chosen example is actually a counterexample. The push in MariaDB is to use systemd's "notify" readiness notification protocol and actually get rid of the wrapper shell scripts completely. * http://homepage.ntlworld.com./jonathan.deboynepollard/FGA/unix-daemon-readiness-protocol-problems.html http://homepage.ntlworld.com./jonathan.deboynepollard/FGA/un... * https://mariadb.atlassian.net/browse/MDEV-5713 https://mariadb.atlassian.net/browse/MDEV-5713 * https://github.com/MariaDB/server/pull/26 https://github.com/MariaDB/server/pull/26 * https://github.com/MariaDB/server/pull/83 https://github.com/MariaDB/server/pull/83 * https://github.com/MariaDB/server/commit/20c2ae39db3dd0ec4c337a9b0bd2bf4481b61e49 https://github.com/MariaDB/server/commit/20c2ae39db3dd0ec4c3... As in MySQL and PostgreSQL. * http://bugs.mysql.com/bug.php?id=65809 http://bugs.mysql.com/bug.php?id=65809 * http://www.postgresql.org/message-id/E1aQnE5-0003Cj-CN@gemulon.postgresql.org http://www.postgresql.org/message-id/E1aQnE5-0003Cj-CN@gemul... * http://postgresql.nabble.com/PATCH-better-systemd-integration-td5874210.html http://postgresql.nabble.com/PATCH-better-systemd-integratio...