mirror of
https://github.com/mempool/mempool.git
synced 2025-02-24 22:58:30 +01:00
23 lines
458 B
SYSTEMD
23 lines
458 B
SYSTEMD
|
[Unit]
|
||
|
Description=Bitcoind-testnet4
|
||
|
After=network.target
|
||
|
|
||
|
[Service]
|
||
|
ExecStart=/usr/local/bin/bitcoind -conf=bitcoin.conf -daemon -testnet4 -printtoconsole -pid=/bitcoin/bitcoind-testnet4.pid
|
||
|
ExecStop=/usr/local/bin/bitcoin-cli -testnet4 stop
|
||
|
|
||
|
Type=forking
|
||
|
PIDFile=/bitcoin/bitcoind-testnet4.pid
|
||
|
Restart=on-failure
|
||
|
|
||
|
User=bitcoin
|
||
|
Group=bitcoin
|
||
|
|
||
|
PrivateTmp=true
|
||
|
ProtectSystem=full
|
||
|
NoNewPrivileges=true
|
||
|
PrivateDevices=true
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|