iroh icon indicating copy to clipboard operation
iroh copied to clipboard

Debian installation scripts - may they be useful for Iroh?

Open twdragon opened this issue 1 year ago • 4 comments

After working on the Debian package generator for IPFS Kubo, I wonder if it would also be useful for Iroh CLI run as systemd service on Debian/Ubuntu. Could you please share your opinion and thoughts about it?

twdragon avatar Jul 25 '24 15:07 twdragon

I would love to see this, anything that makes it easier for folks to run iroh is appreciated.

dignifiedquire avatar Jul 25 '24 18:07 dignifiedquire

OK then. I cannot make this a priority task, but I will try at least. @dignifiedquire if you know, could you please point me to the ready systemd unit script for Iroh?

twdragon avatar Jul 26 '24 09:07 twdragon

There is no ready made systemd script currently. cc @Arqu

dignifiedquire avatar Aug 08 '24 12:08 dignifiedquire

We have some things for most other services but not for the iroh bin specifically. I'm pasting in a toy service I used locally for testing out the relays if that helps any, but it's obvious this needs some love.

[Unit]
Description=iroh relay service
After=network.target
    
[Service]
Type=simple
User=iroh
Group=iroh
LimitNOFILE=65535
LimitCORE=infinity
Environment="RUST_LOG=debug"

Restart=on-failure
RestartSec=10

ExecStart=/usr/local/bin/iroh-relay --config-path /var/lib/iroh/relay.cfg.toml

SyslogIdentifier=iroh-relay
    
[Install]
WantedBy=multi-user.target

Arqu avatar Aug 08 '24 13:08 Arqu

iroh is just a library now, no CLI to install! Closing this issue.

ramfox avatar Sep 22 '25 19:09 ramfox