We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 12bf477 commit 6b188e3Copy full SHA for 6b188e3
contrib/systemd/bitcoind-ready.sh
@@ -0,0 +1,5 @@
1
+#/bin/bash
2
+until /usr/local/bin/bitcoin-cli getblockchaininfo
3
+do
4
+ /bin/sleep 3
5
+done
contrib/systemd/otsd.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=OpenTimestamps server
+After=bitcoind.service
+
+[Service]
6
+User=ots
7
+Group=ots
8
+ExecStartPre=/bin/bash /usr/local/bin/bitcoind-ready.sh
9
+ExecStart=/home/ots/opentimestamps-server/otsd -v
10
+Restart=on-failure
11
12
+KillSignal=SIGINT
13
14
+[Install]
15
+WantedBy=multi-user.target
0 commit comments