Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Add systemd user units for atuin daemon #2172

Closed

Conversation

Flowdalic
Copy link

Now that #2171 is merged, we can add sensible systemd user units for atuin daemon.

Checks

  • I am happy for maintainers to push small adjustments to this PR, to speed up the review cycle
  • I have checked that there are no existing pull requests for the same thing

@Flowdalic Flowdalic force-pushed the daemon-systemd-user-service branch from eea8dd1 to 7bd0fb6 Compare June 20, 2024 10:53
@ellie
Copy link
Member

ellie commented Jun 20, 2024

Hey! Thanks for the PR, but we currently lack these intentionally (and never because of #2171, which has always had several trivial workarounds)

The daemon is experimental, and initially prompted as a workaround for #952, which is caused by a bug in OpenZFS. We do not yet prompt people to use it, and do not yet package a way for this to be easily setup. Our docs highlight that it is experimental, and also that we do not yet provide things like systemd units.

We've discussed methods of doing so here: https://forum.atuin.sh/t/moving-atuin-to-a-daemon/78, which also includes some unit files people are choosing to use.

Until we're ready to support wider use of the daemon, we won't be including ways for people to execute it. If package maintainers choose to then they can, however they will be responsible for supporting it.

One concern is in ensuring that the daemonized process stays up to date - a supported systemd unit would probably require some sort of watcher there too.

@ellie ellie closed this Jun 20, 2024
@hvisage
Copy link

hvisage commented Jun 29, 2024

could you also please consider a central atuin server for multiple users?

I'd like to use it in systems where systemd is explicitly not available.

@ellie
Copy link
Member

ellie commented Jul 1, 2024

I'm afraid the daemon is designed to be single-user - you can run it without systemd

@Finkregh
Copy link

Finkregh commented Dec 6, 2024

I did not check, but would it be an alternative to add these to the docs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants