blockbook/build/deb/debian/blockbook-vertcoin.service
Petr Kracík cb7c54ff21 Vertcoin (#13)
* Initial vertcoin backend commit

* Readme vertcoin ports

* Fix bin

* Vertcoin blockbook initial commit

* Vertcoin fix services port, faked magic due duplicity
2018-06-22 13:11:07 +02:00

44 lines
1.4 KiB
Desktop File

# It is not recommended to modify this file in-place, because it will
# be overwritten during package upgrades. If you want to add further
# options or overwrite existing ones then use
# $ systemctl edit blockbook-vertcoin.service
# See "man systemd.service" for details.
[Unit]
Description=Blockbook daemon (Vertcoin mainnet)
After=network.target
Wants=backend-vertcoin.service
[Service]
ExecStart=/opt/coins/blockbook/vertcoin/bin/blockbook -blockchaincfg=/opt/coins/blockbook/vertcoin/config/blockchaincfg.json -datadir=/opt/coins/data/vertcoin/blockbook/db -sync -httpserver=:9040 -socketio=:9140 -certfile=/opt/coins/blockbook/vertcoin/cert/blockbook -explorer=https://insight.vertcoin.org/ -log_dir=/opt/coins/blockbook/vertcoin/logs
User=blockbook-vertcoin
Type=simple
Restart=on-failure
WorkingDirectory=/opt/coins/blockbook/vertcoin
# Resource limits
LimitNOFILE=500000
# Hardening measures
####################
# Provide a private /tmp and /var/tmp.
PrivateTmp=true
# Mount /usr, /boot/ and /etc read-only for the process.
ProtectSystem=full
# Disallow the process and all of its children to gain
# new privileges through execve().
NoNewPrivileges=true
# Use a new /dev namespace only populated with API pseudo devices
# such as /dev/null, /dev/zero and /dev/random.
PrivateDevices=true
# Deny the creation of writable and executable memory mappings.
MemoryDenyWriteExecute=true
[Install]
WantedBy=multi-user.target