summarylogtreecommitdiffstats
path: root/bee.service
diff options
context:
space:
mode:
authornolash2020-12-07 21:11:10 +0100
committernolash2020-12-07 21:11:57 +0100
commitde45ce60a7097f37066d401ec21961b7bc33a5be (patch)
tree5e2c5ea28c5dca886dff54a6b268b40802ff198a /bee.service
downloadaur-go-bee.tar.gz
Initial commit, v0.4.0
Diffstat (limited to 'bee.service')
-rw-r--r--bee.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/bee.service b/bee.service
new file mode 100644
index 000000000000..c40995edc650
--- /dev/null
+++ b/bee.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=Bee - Ethereum Swarm node
+Documentation=https://swarm-gateways.net/bzz:/docs.swarm.eth/
+After=network.target
+
+[Service]
+Environment="BEE_CONFIG=/etc/bee/bee.yml"
+User=bzz
+Group=bzz
+ExecStart=/usr/bin/bee start --config ${BEE_CONFIG}
+RestartSec=1
+Restart=always
+
+[Install]
+WantedBy=multi-user.target