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.
🔄 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>
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
📋 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.