Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
chore(node): provide user service for radicle-node
✗ CI failure tippfehlr committed 11 months ago
commit 4739a2580274cc379964fbd57f9c4261c5f7f797
parent 1a67ac18f36045fcdef1caf11204df93d60b4c1a
1 failed (1 total) View logs
1 file changed +23 -0
added systemd/user/radicle-node.service
@@ -0,0 +1,23 @@
+
# When running radicle-node on a server, it should be run as a separate user.
+
# If your Radicle key is passphrase-protected, you will have to set the
+
# `RAD_PASSPHRASE` environment variable to the passphrase supplied during
+
# `rad auth`.
+
# Use `systemctl --user edit radicle-node.service` to add
+
#
+
#   [Service]
+
#   Environment=RAD_PASSPHRASE=snickerdoodle
+

+
[Unit]
+
Description=Radicle Node
+
After=network.target network-online.target
+
Requires=network-online.target
+

+
[Service]
+
ExecStart=/usr/bin/radicle-node --listen 0.0.0.0:8776 --force
+
Environment=RUST_LOG=info
+
KillMode=process
+
Restart=always
+
RestartSec=3
+

+
[Install]
+
WantedBy=default.target