Using Reticulum as a daemon after PEP 668 #517
Replies: 4 comments 1 reply
-
I've just been breaking system packages like Kit-Kat bars. :D Some thoughts: Can the daemon simply change the path environment to the venv RNS in installed in? Is it time to begin packaging RNS in system packages? I have zero experience with that, or even pip repos. I feel that's the wrong way to go, what with pip being basically the same thing with fewer dependencies and steps, but apparently Debian disagrees. |
Beta Was this translation helpful? Give feedback.
-
I recommend running it via pipx.
…-a
--
Allan Bailey
***@***.***
On Tue, Jul 2, 2024 at 5:14 PM faragher ***@***.***> wrote:
I've just been breaking system packages like Kit-Kat bars. :D
Some thoughts:
Can the daemon simply change the path environment to the venv RNS in
installed in?
Is it time to begin packaging RNS in system packages? I have *zero*
experience with that, or even pip repos. I feel that's the wrong way to go,
what with pip being basically the same thing with fewer dependencies and
steps, but apparently Debian disagrees.
—
Reply to this email directly, view it on GitHub
<#517 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAAJ744B5ZYZPEBKI7NW2DZKM67HAVCNFSM6AAAAABKIL6MBOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM4TSNBSGEZDI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I was disappointed in the documentations when pipx came into debian. one thing i found recently was the flag --global this may help setup demons. |
Beta Was this translation helpful? Give feedback.
-
You can try this out. I created a gist that has some basic instructions on how to get RNS to run as a service with an unprivileged user. |
Beta Was this translation helpful? Give feedback.
-
I created a shared Reticulum instance started by systemd at bootup, which ran as a daemon process under a particular user account created for that purpose.
PEP668 under debian 12 prohibits installation of globally available modules via pip without using the --break-system-packages option. That essentially forces one of 2 solutions for cron and systemd scripts:
Using the system's package manager to install system / global modules is the preferred way to go, but I don't believe Reticulum is available that way.
For now I am using option 1 until I hear of a better solution, but am open to suggestions.
As painful as it is to adapt to PEP 668 I believe it is the right way to go, even tho I never had problems the old way. None that I'm aware of anyway. Perhaps I'm just lucky :)
Beta Was this translation helpful? Give feedback.
All reactions