Skip to content

Commit

Permalink
readme: troubleshooting systemd
Browse files Browse the repository at this point in the history
  • Loading branch information
ferdinandyb committed Mar 22, 2024
1 parent 63555ec commit a06f048
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,12 +169,24 @@ Key that can be used in `notification_cmd`:

## Troubleshooting

### pinentry on frequent gpg access

If the command you are running requires gpg, and after multiple commands you are being asked for a pinentry, although normally your gpg key is unlocked, you need to add something like this to `gpg-agent.conf`:

```
auto-expand-secmem 100
```

### executables not found when started with systemd

Systemd can load PATH from many places, including some that are not available
immediately on startup. The easiest way to solve this is using
[environment.d](https://www.freedesktop.org/software/systemd/man/latest/environment.d.html),
but you might need to make sure that your file comes _after_ `environment` when
sorted alphabetically. See
[here](https://github.com/ferdinandyb/dotfiles/blob/master/.config/environment.d/README.md)
for a bit more detail.

## Contributing and issues

Please send patches to
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "throttle-cli"
version = "0.1.0"
version = "0.1.1"
description = "Throttle commands triggered from multiple async sources."
authors = ["Bence Ferdinandy <bence@ferdinandy.com>"]
readme = "README.md"
Expand Down

0 comments on commit a06f048

Please sign in to comment.