Open twdragon opened 3 months ago
I would love to see this, anything that makes it easier for folks to run iroh is appreciated.
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?
There is no ready made systemd script currently. cc @Arqu
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
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?