Introducing SystemD Pilot, GUI app for managing systemd services (github.com)
from mfat@lemmy.ml to linux@lemmy.ml on 17 Dec 2024 09:13
https://lemmy.ml/post/23671806

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.

#linux

threaded - newest

Eideen@lemmy.world on 17 Dec 2024 09:19 next collapse

Nice i will try it out.

mfat@lemmy.ml on 17 Dec 2024 09:25 collapse

Thanks :) Hope you find it useful

MentalEdge@sopuli.xyz on 17 Dec 2024 09:40 next collapse

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?

mfat@lemmy.ml on 17 Dec 2024 09:49 collapse

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.

MentalEdge@sopuli.xyz on 17 Dec 2024 10:32 next collapse

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.

mfat@lemmy.ml on 17 Dec 2024 10:59 collapse

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

Blisterexe@lemmy.zip on 17 Dec 2024 13:50 collapse

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.

oldfart@lemm.ee on 17 Dec 2024 18:13 next collapse

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

mfat@lemmy.ml on 24 Dec 2024 08:30 collapse

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

Blisterexe@lemmy.zip on 24 Dec 2024 15:10 collapse

awesome! Tysm

OADINC@feddit.nl on 17 Dec 2024 10:50 next collapse

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.

mfat@lemmy.ml on 24 Dec 2024 08:40 collapse

Done! Chack out the latest version.

OADINC@feddit.nl on 13 Jan 2025 10:44 collapse

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 :) )
mfat@lemmy.ml on 14 Jan 2025 13:10 collapse

Thanks for your feedback. Did you try version 3.0?

TunaLobster@lemmy.world on 17 Dec 2024 12:14 next collapse

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.

Samsy@lemmy.ml on 17 Dec 2024 13:54 collapse

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.

codenul@lemmy.ml on 17 Dec 2024 10:47 next collapse

Thanks for this! Works pretty well when testing -

mike_wooskey@lemmy.thewooskeys.com on 17 Dec 2024 10:48 next collapse

What license are you offering it under?

mfat@lemmy.ml on 17 Dec 2024 10:57 collapse

GPL v3.

Allero@lemmy.today on 17 Dec 2024 13:23 next collapse

The only right choice! Thanks!

mexicancartel@lemmy.dbzer0.com on 18 Dec 2024 03:32 collapse

Btw add license to the repo and license info to readme

mfat@lemmy.ml on 18 Dec 2024 07:11 collapse

Thanks, will do.

LifeLemons@lemmy.ml on 17 Dec 2024 10:53 next collapse

Really cool bro. Always loved GUI for command line utils!

WellTheresYourCobbler@hexbear.net on 17 Dec 2024 10:54 next collapse

This is impressive I love to see another addition to the Libadwaita family

Railison@aussie.zone on 17 Dec 2024 12:13 next collapse

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.

BCsven@lemmy.ca on 17 Dec 2024 15:32 collapse

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

asudox@discuss.tchncs.de on 17 Dec 2024 12:23 next collapse

Awesome, thank you alot.

grym@hexbear.net on 17 Dec 2024 12:43 next collapse

Looks rad

swab148@lemm.ee on 17 Dec 2024 13:06 next collapse

Any chance this lands in the AUR?

mfat@lemmy.ml on 17 Dec 2024 14:40 collapse

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

Petter1@lemm.ee on 17 Dec 2024 13:09 next collapse

Some other projects for the same usage:

github.com/KDE/systemdgenie

github.com/GuillaumeGomez/systemd-manager

😇

Allero@lemmy.today on 17 Dec 2024 13:23 next collapse

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

Petter1@lemm.ee on 17 Dec 2024 13:38 collapse

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

mexicancartel@lemmy.dbzer0.com on 17 Dec 2024 13:47 collapse

Yeah i hate managing systemd stuff because its messy on terminal

caseyweederman@lemmy.ca on 17 Dec 2024 15:11 collapse

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

Petter1@lemm.ee on 18 Dec 2024 05:54 collapse

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

fossilesque@mander.xyz on 17 Dec 2024 13:16 next collapse

Finally!

banghida@lemm.ee on 17 Dec 2024 13:42 next collapse

Awesome, Flatpak?

mfat@lemmy.ml on 17 Dec 2024 14:40 collapse

Yes flatpak will be realesed too.

corsicanguppy@lemmy.ca on 17 Dec 2024 14:22 next collapse

I’d prefer to manage systemd profiles in the rearview.

BCsven@lemmy.ca on 17 Dec 2024 15:29 next collapse

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.

MonkCanatella@sh.itjust.works on 17 Dec 2024 15:42 next collapse

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

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

mfat@lemmy.ml on 18 Dec 2024 01:20 collapse

What’s wrong with cockpit?

No1@aussie.zone on 17 Dec 2024 16:11 next collapse

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.

SitD@lemy.lol on 17 Dec 2024 17:17 next collapse

this dude boots 😎

drwho@beehaw.org on 17 Dec 2024 17:41 next collapse

I can’t tell if you’re taking the piss or not about re-implementing initscripts.

No1@aussie.zone on 17 Dec 2024 23:20 collapse

My job here is done 😉

digdilem@lemmy.ml on 17 Dec 2024 19:52 next collapse

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.

ikidd@lemmy.world on 17 Dec 2024 22:42 collapse

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.

avidamoeba@lemmy.ca on 17 Dec 2024 16:16 next collapse

100% Python, nice.

[deleted] on 17 Dec 2024 18:01 next collapse

.

slampisko@lemmy.world on 17 Dec 2024 18:12 next collapse

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!

mfat@lemmy.ml on 17 Dec 2024 19:31 next collapse
KarmaPolice@lemmy.world on 17 Dec 2024 19:48 next collapse

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)

LiveLM@lemmy.zip on 17 Dec 2024 22:02 collapse

Funnily enough, just saw people on Lemmy talking about this one the other day

hperrin@lemmy.ca on 17 Dec 2024 20:40 next collapse

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.

RedSnt@feddit.dk on 04 Feb 2025 22:53 collapse

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.

Grandwolf319@sh.itjust.works on 17 Dec 2024 21:05 next collapse

Didn’t know Pedro pascal was a coder

zaidka@lemmy.ca on 17 Dec 2024 21:50 next collapse

Does it support per-user systemd services?

mfat@lemmy.ml on 18 Dec 2024 01:08 collapse

It will, in the next release.

ikidd@lemmy.world on 17 Dec 2024 22:40 next collapse

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

mfat@lemmy.ml on 18 Dec 2024 01:08 collapse

Yes i think it’s called systemdGenie

KingThrillgore@lemmy.ml on 17 Dec 2024 22:58 next collapse

I miss the days before SystemD, it seemed simpler.

Hawke@lemmy.world on 18 Dec 2024 00:01 collapse

Autoexec.bat or bust!

Jumuta@sh.itjust.works on 18 Dec 2024 01:20 next collapse

can it do mask/unmask?

mfat@lemmy.ml on 18 Dec 2024 01:22 collapse

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

Jumuta@sh.itjust.works on 18 Dec 2024 07:38 collapse

cool!

balsoft@lemmy.ml on 18 Dec 2024 10:55 next collapse

Looks neat, does its job.

If you’re a power-user looking at this, you can also look at 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.

Swedneck@discuss.tchncs.de on 23 Dec 2024 13:54 next collapse

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

RedSnt@feddit.dk on 04 Feb 2025 22:49 collapse

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.

mfat@lemmy.ml on 14 Feb 2025 14:36 collapse

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.