- restart after daemon failure
- Clone the repository:
git clone https://github.com/verticalcoin/verticalcoin-misc
- Check verticalcoin.conf and remove "daemon=1". It´s nessesary that verticalcoind is not run as daemon.
nano ~/.verticalcoin/verticalcoin.conf
comment out daemon=1
dbcache=300
maxconnections=150
rpcuser=verticalcoin
rpcpassword=securepassword
seednode=seed1.vrtseed.ovh
addnode=H01.vrtnode.ovh
addnode=H02.vrtnode.ovh
addnode=H03.vrtnode.ovh
addnode=H04.vrtnode.ovh
addnode=H05.vrtnode.ovh
;daemon=1
- Copy systemd .service file
cp -f verticalcoin-misc/systemd/verticalcoind.service /etc/systemd/system/verticalcoind.service
chmod a+x /etc/systemd/system/verticalcoind.service
- enable service
systemctl daemon-reload
service verticalcoind start
- check service
service verticalcoind status
[...]
"Active: active (running) since Sun 2018-08-12 12:08:42 CEST; 50ms ago"
[...]
- Clone the repository:
git clone https://github.com/verticalcoin/verticalcoin-misc
-
Check your ~/.verticalcoin/verticalcoin.conf for daemon=1 and remove it.
-
Run script:
cd verticalcoin-misc
./install-service.sh
[...]
"Active: active (running) since Sun 2018-08-12 12:08:42 CEST; 50ms ago"
[...]