<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://en.zaoniao.it/index.php?action=history&amp;feed=atom&amp;title=Monit</id>
	<title>Monit - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://en.zaoniao.it/index.php?action=history&amp;feed=atom&amp;title=Monit"/>
	<link rel="alternate" type="text/html" href="http://en.zaoniao.it/index.php?title=Monit&amp;action=history"/>
	<updated>2026-05-15T21:38:37Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.32.0</generator>
	<entry>
		<id>http://en.zaoniao.it/index.php?title=Monit&amp;diff=5992&amp;oldid=prev</id>
		<title>Admin: Created page with &quot;Running an monitoring bitcoind with [http://mmonit.com/monit/ monit]  I recommend adding a user account for bitcoin:   adduser --disabled-login bitcoin  Place the home directo...&quot;</title>
		<link rel="alternate" type="text/html" href="http://en.zaoniao.it/index.php?title=Monit&amp;diff=5992&amp;oldid=prev"/>
		<updated>2019-06-17T05:28:17Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Running an monitoring bitcoind with [http://mmonit.com/monit/ monit]  I recommend adding a user account for bitcoin:   adduser --disabled-login bitcoin  Place the home directo...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Running an monitoring bitcoind with [http://mmonit.com/monit/ monit]&lt;br /&gt;
&lt;br /&gt;
I recommend adding a user account for bitcoin:&lt;br /&gt;
  adduser --disabled-login bitcoin&lt;br /&gt;
&lt;br /&gt;
Place the home directory (or at least the .bitcoin/wallet.dat) on an encrypted volume (e.g. [http://code.google.com/p/cryptsetup/ cryptsetup]).&lt;br /&gt;
It is also recommended to have a separate wallet for every day use containing only a small amount of coins.&lt;br /&gt;
&lt;br /&gt;
Optional: move your existing .bitcoin directory to the new user and change ownership&lt;br /&gt;
  sudo mv .bitcoin ~bitcoin;&lt;br /&gt;
  sudo chown -R bitcoin.bitcoin ~bitcoin/.bitcoin&lt;br /&gt;
&lt;br /&gt;
Configure bitcoind in ~bitcoin/bitcoin.conf, you also need to set at least rpcuser and rpcpassword:&lt;br /&gt;
  pid=/home/bitcoin/.bitcoin/pid&lt;br /&gt;
&lt;br /&gt;
Create a wrapper for bitcoind in ~bitcoin/bin/bitcoind&lt;br /&gt;
  export HOME=&amp;quot;/home/bitcoin&amp;quot;&lt;br /&gt;
  exec /path/to/the/real/bitcoind &amp;quot;$@&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Optional: You may want to run bitcoind with a lower priority than your interactive applications:&lt;br /&gt;
  export HOME=&amp;quot;/home/bitcoin&amp;quot;&lt;br /&gt;
  exec /usr/bin/nice /usr/bin/ionice -c 3 /path/to/the/real/bitcoind &amp;quot;$@&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Add the following lines to your monitrc (/etc/monitrc or /etc/monit/monitrc) and reload monit:&lt;br /&gt;
  check process bitcoind with pidfile /home/bitcoin/.bitcoin/pid&lt;br /&gt;
  start program = &amp;quot;/home/bitcoin/bin/bitcoind -daemon&amp;quot; as uid bitcoin and gid bitcoin&lt;br /&gt;
  stop program = &amp;quot;/home/bitcoin/bin/bitcoind stop&amp;quot; as uid bitcoin and gid bitcoin&lt;br /&gt;
  #if totalmem &amp;amp;gt; 100 MB then restart&lt;br /&gt;
&lt;br /&gt;
If your bitcoind is leaking memory you may want to enable the totalmem check (adjust amount for your needs).&lt;br /&gt;
&lt;br /&gt;
==Source==&lt;br /&gt;
&lt;br /&gt;
[http://bitcoin.it/ http://bitcoin.it/]&lt;br /&gt;
[[Category:Manuals]]&lt;br /&gt;
==See Also on BitcoinWiki==&lt;br /&gt;
* [[Colored coin]]&lt;br /&gt;
* [[User Activated Soft Fork]]&lt;br /&gt;
* [[TensorBit]]&lt;br /&gt;
* [[Nick Spanos]]&lt;br /&gt;
* [[Fanchain]]&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
		
	</entry>
</feed>