All Projects → thjomnx → java-systemd

thjomnx / java-systemd

Licence: other
Java access to systemd via D-Bus

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to java-systemd

fuzzy-sys
Utility tool for using systemctl interactively
Stars: ✭ 106 (+231.25%)
Mutual labels:  systemd, systemctl
InitWare
The InitWare Suite of Middleware allows you to manage services and system resources as logical entities called units. Its main component is a service management ("init") system.
Stars: ✭ 164 (+412.5%)
Mutual labels:  systemd, dbus
Zabbix Module Systemd
Native systemd monitoring for Zabbix
Stars: ✭ 81 (+153.13%)
Mutual labels:  systemd, dbus
sysz
An fzf terminal UI for systemctl
Stars: ✭ 1,258 (+3831.25%)
Mutual labels:  systemd, systemctl
Go Systemd
Go bindings to systemd socket activation, journal, D-Bus, and unit files
Stars: ✭ 1,756 (+5387.5%)
Mutual labels:  systemd, dbus
lua-systemd
Systemd bindings for Lua
Stars: ✭ 33 (+3.13%)
Mutual labels:  systemd, dbus
go-systemd-time
📅 Go implementation of systemd relative time adjustments
Stars: ✭ 21 (-34.37%)
Mutual labels:  systemd
logback-journal
systemd journal appender for Logback
Stars: ✭ 25 (-21.87%)
Mutual labels:  systemd
node-systemd-journald
Native bindings to journald
Stars: ✭ 26 (-18.75%)
Mutual labels:  systemd
systemd-formula
No description or website provided.
Stars: ✭ 24 (-25%)
Mutual labels:  systemd
streamZ
A simple video streaming application made with Dart, JavaScript, HTML, CSS & ❤️
Stars: ✭ 28 (-12.5%)
Mutual labels:  systemd
dron
What if cron and systemd had a baby?
Stars: ✭ 30 (-6.25%)
Mutual labels:  systemd
fuck systemd
A library to bring the joys of non-systemd users to systemd users
Stars: ✭ 19 (-40.62%)
Mutual labels:  systemd
xmonad-log
DBus monitor for xmonad log events.
Stars: ✭ 31 (-3.12%)
Mutual labels:  dbus
systemdspawner
Spawn JupyterHub single-user notebook servers with systemd
Stars: ✭ 79 (+146.88%)
Mutual labels:  systemd
wimpy.deploy
Ansible role to automate immutable infrastructure scheduling one docker container on one EC2 instance
Stars: ✭ 21 (-34.37%)
Mutual labels:  systemd
amd-disable-c6
Systemd service to automatically disable the C6 power saving state on AMD Zen (Ryzen / Epyc) processors
Stars: ✭ 28 (-12.5%)
Mutual labels:  systemd
node-dbus-next
🚌 The next great dbus library for node
Stars: ✭ 141 (+340.63%)
Mutual labels:  dbus
softwarecontainer
Framework to manage and contain applications in an automotive setting
Stars: ✭ 19 (-40.62%)
Mutual labels:  dbus
android-tether
Autostart Android USB tethering with udev + systemd + adb
Stars: ✭ 30 (-6.25%)
Mutual labels:  systemd

Build Status Quality Gate Status Maintainability Rating Coverage Lines of Code Maven Central License: LGPL v2.1 License: AFL 3.0

java-systemd

Java access to systemd via D-Bus. Java D-Bus bindings (dbus-java) are required.

This library shall:

  • Provide Java access to systemd interfaces via D-Bus (Manager, Unit, Service, Target, etc.)
  • Provide adapters for the internals of the dbus-java API in order to
    • ease the access to systemds methods and properties
    • omit automatic (and low-performance) reflection stuff being done in dbus-java
    • provide observer-like patterns for objects along D-Bus signalling

Versions

There are two major versions available on the central repository:

  • 2.x (depends on dbus-java version 3)
    • 2.1.x and later deploy this library as a Java module in the JPMS
  • 1.x (depends on dbus-java version 2)

Usage

Documentation and instructions how to use this library can be found in the Wiki.

Testing

Unit tests are based on TestNG and Mockito. Test methods which require a deployed systemd environment are grouped in TestNG group "requireSystemd". There are two TestNG suites available:

  • src/test/resources/suites/auto-systemd.xml (executes all tests)
  • src/test/resources/suites/auto.xml (excludes group "requireSystemd")

Contributions

  • Thanks to brett-smith for initial migration work to support dbus-java version 3 and for JPMS support.

License

LGPL v2.1 and AFL 3.0.

Disclaimer

These are no "official" Java bindings for systemd via D-Bus. I only work on it if the following requisites are met:

  • The kids are sleeping
  • My wife is hacking on medical research
  • No beers in the fridge
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].