Running litestream as a systemd user / allow to specify custom configuration location #578
Replies: 1 comment
-
found the docs |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to run litestream as a systemd service in user mode (systemctl --user app).
I want to run it in user mode, because my app server service is running in user mode as well
and I can/want to add it as a dependency in systemd to the app server to automatically be stopped/started on redeployments of the app server. (Where is some symlink magic happening on deployment that I do not feel comfortable to do while the app server and/or litestream are accessing the files)
I have used the search to find that there was an config option earlier in 2021 #255
But it no longer seems to work?
I tried
litestream -config /home/me/litestream_dev.yml
litestream replicate -config /home/me/litestream_dev.yml
Is where a way to specify a custom config location?
Are where specific reasons why litestream must run in systemd as a root user?
Beta Was this translation helpful? Give feedback.
All reactions