Project

systemized

0.0
No commit activity in last 3 years
No release in over 3 years
Exposes systemd components to Ruby
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies
 Project Readme

Systemized

Overview

Systemized exposes systemd components as Ruby Objects.

Why does this exist?

As an attempt to tame some of the complexity of systemd.

Installation

gem install systemized

Usage

The following will read the last ten log entries for the concourse-worker service.

require 'systemized'

service = Systemized::Service.new 'concourse-worker'

service.journal.read(10)

This will stop the concourse-worker service if it is current active, then start it.

require 'systemized'

service = Systemized::Service.new 'concourse-worker'

service.stop if service.active?

service.start

License

systemized is available under the MIT License. See LICENSE.txt for the full text.

Contributors