Why Nostr? What is Njump?
2025-01-04 13:27:34

Harsh Shandilya on Nostr: #TIL: You can run `systemctl cat servicename.service` to get the "final" version of ...

#TIL: You can run `systemctl cat servicename.service` to get the "final" version of your #systemd service file, including all overrides which would typically be loaded dynamically by systemd itself and not visible in the actual unit file.

This is extremely helpful on #NixOS where packages can sometimes re-use upstream systemd unit files and inject NixOS specific options through an override file which can be non-obvious.

The attached image shows the extra information it's able to surface

Author Public Key
npub1em76u3s95yv2dhmdl26tky69cl3p3j7w3ugj2c8rs5gydaprg22q9vvcc5