Add crontab creation for linux and bitcoin-minfee.service in prod install

This commit is contained in:
Stephan Oeste
2022-07-06 18:31:31 +02:00
parent ec9e47233a
commit 21e6d13479
2 changed files with 91 additions and 10 deletions

View File

@@ -0,0 +1,22 @@
[Unit]
Description=Bitcoind-minfee
After=network.target
[Service]
ExecStart=/usr/local/bin/bitcoind -daemon -printtoconsole -pid=/minfee/bitcoind-minfee.pid
ExecStop=/usr/local/bin/bitcoin-cli stop
Type=forking
PIDFile=/minfee/bitcoind.pid
Restart=on-failure
User=minfee
Group=minfee
PrivateTmp=true
ProtectSystem=full
NoNewPrivileges=true
PrivateDevices=true
[Install]
WantedBy=multi-user.target