345
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
this post was submitted on 17 Dec 2024
345 points (97.5% liked)
Linux
48721 readers
1378 users here now
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Rules
- Posts must be relevant to operating systems running the Linux kernel. GNU/Linux or otherwise.
- No misinformation
- No NSFW content
- No hate speech, bigotry, etc
Related Communities
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
founded 5 years ago
MODERATORS
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?
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.
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.
Brilliant thanks for your feedback and thoughts. Will look into this.
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:
Just spitballing here though.
This was added to the latest version. You can now quickly start a new service from the app.
awesome! Tysm
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