commit 9b5a8fbb2f0b5d93daa1ea5880e4e209a11abf27 parent 76cbd8a2c618bc1b2fe72770fad76a2f324b5a8d Author: chris-belcher <chris-belcher@users.noreply.github.com> Date: Sat, 28 Dec 2019 14:52:10 +0000 Merge branch 'master' of https://github.com/chris-belcher/electrum-personal-server Diffstat:
A | contrib/electrumpersonalserver.service | | | 19 | +++++++++++++++++++ |
1 file changed, 19 insertions(+), 0 deletions(-)
diff --git a/contrib/electrumpersonalserver.service b/contrib/electrumpersonalserver.service @@ -0,0 +1,19 @@ +# Electrum Personal Server: systemd unit +# /etc/systemd/system/electrumpersonalserver.service + +[Unit] +Description=Electrum Personal Server +After=bitcoind.service +Requires=bitcoind.service + +[Service] +ExecStart=/your-installation-path/server.py /your-workding-dir [optional arguments] +User=bitcoin +Group=bitcoin +Type=simple +Restart=on-failure +RestartSec=60 +KillMode=process + +[Install] +WantedBy=multi-user.target