https://github.com/lslezak/systemd-change-guard
Report changes in the systemd states
https://github.com/lslezak/systemd-change-guard
Last synced: over 1 year ago
JSON representation
Report changes in the systemd states
- Host: GitHub
- URL: https://github.com/lslezak/systemd-change-guard
- Owner: lslezak
- License: gpl-3.0
- Created: 2017-09-22T15:10:59.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2020-01-28T14:22:00.000Z (over 6 years ago)
- Last Synced: 2025-02-03T19:13:55.527Z (over 1 year ago)
- Language: Ruby
- Size: 20.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Systemd Service Status Check
[](
https://travis-ci.org/yast/systemd-change-guard)
This repository contains a simple script which periodically checks whether
the systemd service introduced a new state.
The reason is that the YaST system services modules migh not work correctly
when a new unhandled stated is added to systemd.
## Details
- The script runs the `systemctl --state=help` command to get the list of states
from systemd
- The list is compared with the expected states from the `expected_states.yml` file
- If a difference is found then it is printed and the script fails
- The script is running inside [yastdevel/ruby](
https://hub.docker.com/r/yastdevel/ruby/) Docker image which is based on
the openSUSE Tumbleweed image and regularly updated (the systemd version in
the image should be always up to date)
- The script is [configured](https://travis-ci.org/yast/systemd-change-guard/settings)
to start regularly as a Travis CRON job