Post
Topic
Board Announcements (Altcoins)
Re: [ANN][CRW] CROWN (SHA256) | Core Updates | Thrones | Merge Mining
by
Wildvest
on 29/03/2017, 17:31:16 UTC
if somebody care, my adapted & tested crownd daemon start script with autostart for the standard Throne (Tron) Setup on Ubuntu 16.04 (and higher)

copy text into a new file /etc/systemd/system/crownd.service

Code:
[Unit]
Description=Crown's distributed currency daemon
After=network.target

[Service]
User=root
Group=root

Type=forking
PIDFile=/root/.crown/crownd.pid
ExecStart=/usr/local/bin/crownd -daemon -pid=/root/.crown/crownd.pid -conf=/root/.crown/crown.conf -datadir=/root/.crown
#-disablewallet

Restart=always
PrivateTmp=true
TimeoutStopSec=60s
TimeoutStartSec=2s
StartLimitInterval=120s
StartLimitBurst=5

[Install]
WantedBy=multi-user.target

run

Code:
systemctl reenable crownd

reload config

Code:
systemctl daemon-reload
systemctl restart crownd

or better reboot and check for startup with

Code:
systemctl status crownd

advantage is its autostart on reboot and also on daemon crash