Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
systemd: Provide user service for radicle-node
tippfehlr committed 11 months ago
commit 9dae540c8718f1d2e9dd26a68cd76242a16d7eb0
parent 6f25d73d3df062e7b49df4b2e9dd7cb5aa3a98ca
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