Crates.io | sysd-manager |
lib.rs | sysd-manager |
version | 1.0.0 |
source | src |
created_at | 2024-06-18 23:35:20.658831 |
updated_at | 2024-11-08 21:12:11.144004 |
description | A GUI to manage systemd units |
homepage | |
repository | https://github.com/plrigaux/sysd-manager |
max_upload_size | |
id | 1276307 |
size | 402,709 |
This application exists to easily allow user to manage their systemd units via a GUI. Not only are you able to make changes to the enablement and running status of each of the units, but you will also be able to view and modify their unit files and check the journal logs.
This application is not intended to a profesional system administrator audience.
If you consider yourself an administator, please refer to systemctl
and journalctl
documentation.
Here are Sysd Manager main features :
Unit file browser with serach and filtering
Enable or disable a unit
Activate or desactivate a unit
View and modify unit file
Unit file syntax highlighting
Journal file syntax highlighting
List of all running units, ordered by the time they took to initialize systemd-analyze blame
Follow Dark and Light style switching
Note if you need a feature communicate with the author or contribute to the project. If you're stuck take a look at systemctl.
Any Linux distribution that has adopted systemd.
This project is inspired by the work of Guillaume Gomez https://github.com/GuillaumeGomez/systemd-manager/
Contact me on my GitHub if you want to contribute to this project.
For now new features are planned to be added, such as:
Better layout
cargo run
You can install the application from COPR
First, you need to have dnf-plugins-core installed
sudo dnf install dnf-plugins-core
Then you can enable the repo with the following command
sudo dnf copr enable plrigaux/sysd-manager
Then you can simply install sysd-manager with the following command
sudo dnf install sysd-manager
1 be in the mock group Add your user name to the mock group
sudo usermod -a -G mock <my user name>
You can generate youe rpm localy with the help of the crate cargo-generate-rpm
.
cargo install cargo-generate-rpm
cargo build --release
strip -s target/release/sysd-manager
cargo generate-rpm
Then you can install sysd-manager with the following command
Don't forget to ajust the the rpm file path
sudo dnf localinstall target/generate-rpm/sysd-manager[version-release-arch].rpm
cargo install cargo-generate-rpm
Run the following script.
sh ./create_rpm
It will create a rpm file in the target/generate-rpm subdirectory.
SysD Manager can be build as a flatpak, but the flatpak version has limitations that can be overcome.
The limitation are :
The application discloses how to overcome those limitations.
flatpak install org.flatpak.Builder
./goflatub build
To run the compiled flatpak execute the following command
./goflatub run
To access all program's functionnalities, you need the to have program flatpak-spawn install on your system.
No remote refs found for ‘flathub’
flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
Later waiting for a contributor or when I will reinstall e Debian like distro
If you want to test Sysd Manager without risking to shutdown impotant services, you can do it with tiny_daemon. tiny_daemon is a service provided with the project as a simple web server that you can safely play with.
To install tiny_daemon, in the project directory, just run this python script.
python install_tiny
or if install_tiny is executable (i.e. chmod +x install_tiny
)
./install_tiny