Skip to content

nyxcharon/ruby-systemd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ruby-systemd

Provides a basic library to interact with Systemd service units.
Based on the Systemd DBUS API

NOTE: This is not feature complete. Progress can be tracked via issues.

Install

gem install systemd-bindings

Example Usage of library

systemd = Systemd::SystemdManager::new

#List all units
systemd.units.each do |a|
  puts a.name
end

#Retrive a specific unit and get it's human readable name
puts systemd.get_unit("cups.service").human_name

About

A ruby library for systemd

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages