Monero Wallet Isolation

From Whonix
Revision as of 09:49, 2 November 2021 by Patrick (talk | contribs) (t)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Documentation for this is incomplete. Contributions are happily considered! See this for potential alternatives.


Note: The following instructions should be applied in Template:Workstation product name ([[Qubes-Whonix|Template:Q project name]]: App Qube monerod-ws).

1. Create folder ~/.config/systemd/user.

mkdir -p ~/.config/systemd/user

2. Create file ~/.config/systemd/user/monerod.service.

Open file ~/.config/systemd/user/monerod.service in a text editor of your choice as a regular, non-root user.

If you are using a graphical environment, run. mousepad ~/.config/systemd/user/monerod.service

If you are using a terminal, run. nano ~/.config/systemd/user/monerod.service


3. Paste the following contents. [1]

[Unit] Description=Monero Full Node After=network.target [Service] User=user Group=user Type=simple PIDFile=/home/user/.bitmonero/monerod.pid ExecStart=DNS_PUBLIC=tcp TORSOCKS_ALLOW_INBOUND=1 torsocks monerod --data-dir=/home/user/.bitmonero \ --no-igd --hide-my-port --pidfile=/home/user/.bitmonero/monerod.pid \ --log-file=/home/user/.bitmonero/bitmonero.log --p2p-bind-ip=127.0.0.1 monerod --p2p-bind-ip 127.0.0.1 --no-igd Restart=always PrivateTmp=true [Install] WantedBy=default.target

4. Save.

5. Reload systemd user instance.

systemctl --user daemon-reload

6. Optional: Enable autostart for the monerod systemd user instance.

systemctl --user enable monerod

7. Start monerod systemd user instance.

systemctl --user restart monerod

8. Done.

Creation and configuration of monerod systemd user unit has been completed.

  1. Do not use --detach - outdated style for daemons. Better error handling without.