Skip to content

Instantly share code, notes, and snippets.

@Alex-Werner
Created August 11, 2017 22:46
Show Gist options
  • Save Alex-Werner/3fc57ff6e3fce8ae5fef926a02a75c72 to your computer and use it in GitHub Desktop.
Save Alex-Werner/3fc57ff6e3fce8ae5fef926a02a75c72 to your computer and use it in GitHub Desktop.

Revisions

  1. Alex-Werner created this gist Aug 11, 2017.
    12 changes: 12 additions & 0 deletions bitcore.service
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,12 @@
    [Unit]
    Description=Bitcore Server Testnet
    #Requires=After=dashd.service

    [Service]
    PIDFile=/home/obusco/.pids/bitcore.pid
    ExecStart=/home/obusco/insight/bitcore-node-dash bin/bitcore-node-dash start > /home/obusco/.logs/bitcore.log
    Restart=always
    RestartSec=10

    [Install]
    WantedBy=multi-user.target