Spyke

Syndicated from the fediverse. Read and engage on the original instance.

View original on lemmy.ml
linux·Linuxbymfat

Introducing SystemD Pilot, GUI app for managing systemd services

SystemD Pilot is a desktop application for managing systemd services on GNU/linux machines. The app is very lightweight and supports common tasks such as starting and stopping systemd services.

It can also show detailed status for each service.

Features: List services

Filter by running state

Start, Stop, Restart, Enable and Disable services + show status for each service

Create override configuration for any unit file using the edit button

Option for reloading systemd manager configuration (systemctl daemon-reload)

Easy search. Just start typing and the app will find relevant services

Lightweight

Available for download as deb, rpm and AppImage

Integration into GNOME desktop (libadwaita)

Made with love for the FOSS community. Please give it a try and share your thoughts.

Introducing SystemD Pilot, GUI app for managing systemd serviceshttps://github.com/mfat/systemd-pilotOpen linkView original on lemmy.ml
328

65 replies

aussie.zone

Fantastic, Linux needs tools like this for users who need to make occasional changes and inspect systemd.

For inspiration, I would suggest you also look at LaunchControl, which is a GUI tool to administer launchd on macOS.

49

There are some. COCKPIT would probably suit most people. OpenSUSE has a GUI Services tool built into YAST

10
Alleroreply
lemmy.today

Nice, thanks! So weird these tools are not commonly used - managing systemd remains one of the common terminal PITAs for everyone who doesn't appreciate the Great Holy Terminal

16
Petter1reply
lemm.ee

Funny thing is, that there are many things I prefer the terminal for, but systemd deamons are not these things 😂

22
lemmy.ca

Aren't those defunct? I was looking for examples of exactly this a while back and none of them were being actively maintained.

8

I use Systemd-Manager since a long time now and it worked always well. But it could well be, that it is unmaintained..

2
No1
aussie.zone

NO! NO, I WON'T HAVE IT!

I will not give up my command line, obscure, non-obvious commands that control my machine!

It is an abomination that I don't have to search for, and then wade through hundreds of AI generated pages of useless information just to show me what services are running with systemd!

I am seriously considering starting my own startup system. I am thinking I could initiate (init) runlevels to start subsystems at various stages. If anyone is interested, hit me up.

33

Maybe you can script everything, with convoluted interconnections that are impossible to troubleshoot. Now that would be the way to control all the systems behind impenetrable obfuscation and keep those dratted normies from understanding anything.

10

wade through hundreds of AI generated pages of useless information

I personally find the best use of AI is to read those pages of useless information and summarise what I actually want to know.

Google: " hugo, show total number of posts not including pages " = advertising, a billion pages of partially but not entirely relevant information that takes ages to wade through.

Gemini: same question: Clear explanation and working examples in seconds.

They're both google, but one knows what I'm actually trying to say and doesn't (yet) push advertising at me.

4
sopuli.xyz

Oooh this will be perfect for a bunch of stuff I do.

Can you create new services or do you still need to create the .service file manually?

What about .timer files?

11
mfatreply
lemmy.ml

I've been thinking about a "create new service" feature but I'm not sure about two things: 1.how useful it can be 2.how to implement this to actually make life easier for end users

Adding a generic template would not be difficult.

13
MentalEdgereply
sopuli.xyz

I would absolutely use it. In fact creating and editing services would be the primary selling point IMO. It doesn't need to be much "easier" than doing it in the terminal or file explorer, to me the primary benefit would just be the ease of use of creating, loading, and starting a new service all in one place.

I think a generic template would be great.

You could turn the whole thing into a giant GUI settings screen, allowing navigation to an exectuable, after which you could provide some of the most typical options as sliders, number fields, switches, or whatever is suitable. But that would be a large amount of work, and I'm not sure it would simplify things much.

The starting point should just be a text field, but with a link to the service file docs for help/reference.

18
mfatreply
lemmy.ml

Brilliant thanks for your feedback and thoughts. Will look into this.

5
Blisterexereply
lemmy.zip

As far as i can tell a full gui for systemd service files would be practically impossible. But a template ui would be sick, maybe something like an app autostart template could look like this:

Program: 

Launch options:

When: early/normal/login/graphical-start

Restart: never/once/always

Just spitballing here though.

2
mfatreply
lemmy.ml

This was added to the latest version. You can now quickly start a new service from the app.

1

And the RestartSomethingInterval=0 option so systemd keeps restarting the program like an obedient machine it should be, not give up because it's tired

1
OADINCreply
feddit.nl

Even if the new service is "just" a text field for code + the name of the service. If it saves it in the right location for you its useful. Not having to fiddle with that stuff as an end user is nice.

9
mfatreply
lemmy.ml

Done! Chack out the latest version.

2
OADINCreply
feddit.nl

I tried it yesterday and it looks great. And I have three pieces of feedback:

  1. Ctrl + F doesn't always bring up the search.
  2. I'm not seeing my custom services (one I made with and one without this tool)
  3. When making a service it would be nice to have a tool tip explaining what every line does. Though I can understand (and there is an argument for) not including this as this can simply be out of scope. (4. Please try to have it added to the fedora RPM so it can get auto updated :) )
2
mfatreply

Thanks for your feedback. Did you try version 3.0?

1

Making life easier for end users means more documentation about what you are doing. I mean that's the main difference between Commandline and a GUI.

Oh look Avahi Service, let's stop it, what does it mean to stop it.

Creating a new Service, sure but what is needed, are there examples? Formfill lines with a hint what's needed, maybe some dropdown entries?

You got what I mean.

5

Just having something that shows the field options and formats it correctly would be fantastic. Tooltips and all that could be added later to lower the bar of entry for new users.

5
mfatreply

I've not used arch for years but I'll look into this.

4
mfatreply
lemmy.ml

Not in this version. I'll add that and more for the next release.

8

Looks neat, does its job.

If you're a power-user looking at this, you can also look at https://github.com/rgwood/systemctl-tui which is somewhat similar but seems to be more useful (for now), also showing the service logs and being easily navigable with a keyboard.

4
lemmy.ca

Does it support per-user systemd services?

4
lemmy.world

I am running a headless server, but still want to make managing my systemd services easier. Any recommendations? I think I'm looking for something that is to systemd what htop is to top🤔

EDIT: Thanks for all the recs!

4

I know you asked for cli apps, and maybe you have already heard of it, but in case you haven't, cockpit is a pretty nice web UI for managing your server (not just systemd services, but everything)

10
lemmy.ca

This is good. We need more GUI tools to keep the noobs out of the terminal. Not only because that gives a better impression, but it also protects them from doing a command wrong and really hurting something.

3

It is nice to have guard rails like a GUI until you grasp the possibilities, that's how I've learned historically coming from DOS and Windows at least, but you can still mess things up plenty with this tool.

1
lemmy.world

I remember there being a KCM for Plasma Settings that did this sort of thing.

3
mfatreply

Yes i think it's called systemdGenie

2

oh it's not an official thing, that could probably use some more clarification as the name makes it sound like something developed by the systemd people

2

Cool. I have been using the built in YAST2 GUI services on OpenSUSE. But for other machines COCKPIT webgui uses systems to view and manage services.

2

I switched to linux a little over a year ago and went with MX Linux because they have great GUI tools for windows refugees like myself, and because they don't like systemd over there they use cron jobs. Now, having switched to Nobara I've just installed both SystemD Pilot here, but also found KCron, a KDE Cron configuration module which allows for the same functionality as what I'm used to.
If I just want to setup a "when system starts" daemon, is there really any difference in using one over the other? I guess it's possible to shut down services more gracefully?

In any case, great job on this utility.

2
mfatreply

Services are the more standard way of doing that. They are more resilient and you could troubleshoot more easily. Glad you are happy with systemd Pilot. Feel frree to share your thoughts or ask for new features.

2

man wtf. I've been searching for something like this.

aw fuck, I thought this was a web interface like cockpit. ok nvm :(

-2