What is Nostr?
npub1lfd…49ls
2024-10-22 17:03:52
in reply to nevent1q…88d9

npub1lf…949ls on Nostr: npub16mtxp…dpnwy There actually is, it's just very well hidden. Conflicts=<unit> ...

npub16mtxp68k8c3p2sj0wzhagt3kd8ywkvzlkfyt3vrx9cahzfz000vs8dpnwy (npub16mt…pnwy)

There actually is, it's just very well hidden.

Conflicts=<unit>
OnSuccess=<unit>
OnFailure=<unit>

Because a service can only enter one of those two states when it finishes, this is robust.

I use this to stop paperless while the exporter runs:

https://github.com/Atemu/nixos-config/blob/61752e2c0f5a449dfb50cd774ddd509f2381f7f6/modules/paperless/module.nix#L59-L95
Author Public Key
npub1lfdq7c6hg7r3v4c4m8eed3lpta2q5m8kmg43n3qnm8v668hcj8ns6949ls