[PR #89] [MERGED] fix: check if systemd is available for install #4406

Closed
opened 2026-04-19 14:04:56 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/moghtech/komodo/pull/89
Author: @BradLugo
Created: 9/22/2024
Status: Merged
Merged: 9/23/2024
Merged by: @mbecker20

Base: mainHead: systemd-install-check


📝 Commits (1)

  • ceb91c6 fix: check if systemd is available for install

📊 Changes

1 file changed (+10 additions, -1 deletions)

View changed files

📝 scripts/setup-periphery.py (+10 -1)

📄 Description

Adds a check at the beginning of setup-periphery.py to verify if systemctl is executable by the current user and if systemd is the init system in use. These changes will inform the user we've decided systemd is unavailable and exits before we attempt to use any systemd functionality, but modify this logic to configure other init systems in the future.

Relates to (but doesn't close) https://github.com/mbecker20/komodo/issues/66.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/moghtech/komodo/pull/89 **Author:** [@BradLugo](https://github.com/BradLugo) **Created:** 9/22/2024 **Status:** ✅ Merged **Merged:** 9/23/2024 **Merged by:** [@mbecker20](https://github.com/mbecker20) **Base:** `main` ← **Head:** `systemd-install-check` --- ### 📝 Commits (1) - [`ceb91c6`](https://github.com/moghtech/komodo/commit/ceb91c66fd0ea6eb8dffc66bbc33a318629d8474) fix: check if systemd is available for install ### 📊 Changes **1 file changed** (+10 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `scripts/setup-periphery.py` (+10 -1) </details> ### 📄 Description Adds a check at the beginning of setup-periphery.py to verify if `systemctl` is executable by the current user and if systemd is the init system in use. These changes will inform the user we've decided systemd is unavailable and exits before we attempt to use any systemd functionality, but modify this logic to configure other init systems in the future. Relates to (but doesn't close) https://github.com/mbecker20/komodo/issues/66. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-19 14:04:56 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/komodo#4406