mastodontech.de ist einer von vielen unabhängigen Mastodon-Servern, mit dem du dich im Fediverse beteiligen kannst.
Offen für alle (über 16) und bereitgestellt von Markus'Blog

Serverstatistik:

1,5 Tsd.
aktive Profile

#systemd

13 Beiträge12 Beteiligte0 Beiträge heute
Fortgeführter Thread

Finally getting full circle. dotfiles generating systemd user services, such as setting up Codium as a remote server, using my #systemd universal manager extension to manage them, etc.

github.com/gbraad-vscode/syste

Will soon add some stuff, as I am I need to handle mounts and containers (quadlets).

systemd Universal Manager for VS Code. Contribute to gbraad-vscode/systemd-universal-manager development by creating an account on GitHub.
GitHubGitHub - gbraad-vscode/systemd-universal-manager: systemd Universal Manager for VS Codesystemd Universal Manager for VS Code. Contribute to gbraad-vscode/systemd-universal-manager development by creating an account on GitHub.

Have added a way to run background processes from application definitions using #systemd

apps tailproxy install
apps tailproxy service status
apps tailproxy up
apps tailproxy status online

As described in:
github.com/gbraad-dotfiles/app

This allows me to easily spin up a user-space #tailscale daemon.

@gbraad's application descriptions for use with apps.zsh helper - gbraad-dotfiles/applications
GitHubapplications/tailproxy.md at main · gbraad-dotfiles/applications@gbraad's application descriptions for use with apps.zsh helper - gbraad-dotfiles/applications

Hey #systemdultras - I have a whole bunch (smth like 250 or more) of services that are similar. I want them to run once a week/month, but they need to be:

1. Resource restricted (CPU time, memory)
2. Should not all run at the same time
3. Some of them may run for hours, some may be finished within seconds - I don't know beforehand

What do I do?

I think I can put them into a slice, add some resource control on that slice. But what about the "don't run them all at the same time"? Do I simply add jitter via the timer configuration? Or is there another setting that I can use, maybe on the slice, for something like "don't run more than 10 services at once in that slice"?

#systemd

Bonus question: technically, they could be restricted differently depending on the time they run at. For example, all services can use 6G of ram if they run between 02:00 and 06:00, but should not exceed 2G if they run at other times. Possible? I think not, but well, better ask, right?

Schade, hatte gehofft, dass man systemd-creds auch in rootless #podman Units verwenden könnte (statt base64-encodeten Secrets, gpg oder selbstgebastelten Shell-Befehlen), aber das Entschlüsseln von Secrets funktioniert im aktuellen #systemd v257 leider noch nicht bei User-Units.

Patch ist schon gemerged, jetzt heißt es: warten. 😅
github.com/systemd/systemd/pul

Fixes: #33887 #33796 #33318
GitHubpid1: complete per-user credentials support by poettering · Pull Request #35536 · systemd/systemdVon poettering