Skip to content

imapnotify: Use direct nix store path for config#4212

Merged
rycee merged 2 commits intonix-community:masterfrom
dbaynard:imapnotify-config-restart
Jul 9, 2023
Merged

imapnotify: Use direct nix store path for config#4212
rycee merged 2 commits intonix-community:masterfrom
dbaynard:imapnotify-config-restart

Conversation

@dbaynard
Copy link
Copy Markdown
Contributor

@dbaynard dbaynard commented Jul 7, 2023

As pointed out in #3291, using the xdg symlink means the agent/unit files don’t change when the contents of the config changes, and so the service will not be restarted.

I can't test right now.


Description

Checklist

  • Change is backwards compatible.

  • Code formatted with ./format.

  • Code tested through nix-shell --pure tests -A run.all or nix develop --ignore-environment .#all using Flakes.

  • Test cases updated/added. See example.

  • Commit messages are formatted like

    {component}: {description}
    
    {long description}
    

    See CONTRIBUTING for more information and recent commit messages for examples.

  • If this PR adds a new module

    • Added myself as module maintainer. See example.

Maintainer CC

@github-actions github-actions bot added the mail HM email accounts, thunderbird, alot, notmuch, msmtp, meli... label Jul 7, 2023
@dbaynard dbaynard mentioned this pull request Jul 7, 2023
7 tasks
As pointed out in nix-community#3291, using the XDG symlink means the agent/unit
files don’t change when the contents of the config changes, and so the
service will not be restarted.
@rycee rycee force-pushed the imapnotify-config-restart branch from 38e199d to e88fac8 Compare July 9, 2023 08:37
Also add test for the systemd service.
@rycee rycee force-pushed the imapnotify-config-restart branch from e88fac8 to b70db52 Compare July 9, 2023 08:53
@rycee rycee merged commit b70db52 into nix-community:master Jul 9, 2023
@rycee
Copy link
Copy Markdown
Member

rycee commented Jul 9, 2023

Thanks! Made a few fixes, added a systemd test, and merged to master 🙂

@dbaynard
Copy link
Copy Markdown
Contributor Author

dbaynard commented Jul 9, 2023

Thank you — I haven't had the time this weekend to go through this, but I figured it would be helpful to get started, at least.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

mail HM email accounts, thunderbird, alot, notmuch, msmtp, meli...

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants