Radish alpha
h
Radicle Heartwood Protocol & Stack
Radicle
Git (anonymous pull)
Log in to clone via SSH
node: systemd file
Slack Coder committed 3 years ago
commit 6417a71e08c3d5ec1501656d53203e82dd12fd55
parent 3f389f37ea8739d39e8068a52f3f309a0c141e93
1 file changed +27 -0
added radicle-node/radicle-node.service
@@ -0,0 +1,27 @@
+
# When running radicle-node on a server, it should be run as a separate user.
+
# Copy this file into /etc/systemd/system and set the User/Group parameters
+
# under [Service] appropriately.
+

+
# For users wishing to run a configured version of the service, copy this
+
# service file into the user's systemd directory, and edit appropriately.
+
#
+
#   mkdir -p $HOME/.local/share/systemd/user/
+
#   cp radicle-node.service $HOME/.local/share/systemd/user/radicle-node.service
+
#
+
# You will have to set the RAD_PASSPHRASE for the node to start.
+
#
+
#   [Service]
+
#   Environment="RAD_PASSPHRASE=[passphrase]"
+

+
[Unit]
+
After=syslog.target network.target
+
Description=Radicle Node
+

+
[Service]
+
ExecStart=%h/.radicle/bin/radicle-node
+
KillMode=process
+
Restart=always
+
RestartSec=1
+

+
[Install]
+
WantedBy=multi-user.target