mirror of
https://github.com/moghtech/komodo.git
synced 2026-05-06 00:18:38 -05:00
[PR #89] [MERGED] fix: check if systemd is available for install #3935
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 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:
main← Head:systemd-install-check📝 Commits (1)
ceb91c6fix: 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
systemctlis 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.