dkforest

A forum and chat platform (onion)
git clone https://git.dasho.dev/n0tr1v/dkforest.git
Log | Files | Refs | LICENSE

commit 6b4318596ac2f8d636e663e2f3f4d80cb4e32c15
parent 10cc47581042c30b4a8481b816d4bd65e650928b
Author: n0tr1v <n0tr1v@protonmail.com>
Date:   Wed, 13 Dec 2023 03:37:46 -0500

systemd for wallet rpc

Diffstat:
Mdoc/notes.md | 4++--
Msystemd/dkf.service | 6+++---
Asystemd/xmr-poker-wallet-rpc-stagenet.service | 16++++++++++++++++
3 files changed, 21 insertions(+), 5 deletions(-)

diff --git a/doc/notes.md b/doc/notes.md @@ -8,7 +8,7 @@ https://web.archive.org/web/20200619230407/https://github.com/torproject/tor/pul ``` ``` -/etc/systemd/system/darkforest.service +/etc/systemd/system/dkf.service service darkforest restart journalctl -u darkforest.service journalctl --vacuum-time=2d @@ -91,5 +91,5 @@ select username, registration_duration from users order by id desc limit 10; wget https://downloads.getmonero.org/cli/linux64 tar -xf linux64 ./monero-x86_64-linux-gnu-v0.18.3.1/monero-wallet-cli --stagenet --daemon-address 3.10.182.182:38081 -./monero-x86_64-linux-gnu-v0.18.3.1/monero-wallet-rpc --stagenet --daemon-address 3.10.182.182:38081 --wallet-file /home/dkf/dkf-poker-stagenet.keys --rpc-bind-port 6061 --password '...' +./monero-x86_64-linux-gnu-v0.18.3.1/monero-wallet-rpc --stagenet --daemon-address 3.10.182.182:38081 --wallet-file /home/dkf/dkf-poker-stagenet.keys --rpc-bind-port 6061 --password '...' --disable-rpc-login ``` \ No newline at end of file diff --git a/systemd/dkf.service b/systemd/dkf.service @@ -1,5 +1,5 @@ [Unit] -Description=DarkForest +Description=XMR wallet rpc stagenet After=network.target StartLimitIntervalSec=0 [Service] @@ -7,8 +7,8 @@ Type=simple Restart=always RestartSec=5 User=dkf -WorkingDirectory=/home/dkf/dist -ExecStart=/home/dkf/dist/darkforest --cookie-domain='' +WorkingDirectory=/home/dkf +ExecStart=/home/dkf/monero-wallet-rpc --wallet-file /home/dkf/dkf-poker-stagenet.keys --daemon-address 3.10.182.182:38081 --stagenet --rpc-bind-port 6061 --password '...' --disable-rpc-login LimitNOFILE=65536 KillSignal=SIGINT diff --git a/systemd/xmr-poker-wallet-rpc-stagenet.service b/systemd/xmr-poker-wallet-rpc-stagenet.service @@ -0,0 +1,16 @@ +[Unit] +Description=DarkForest +After=network.target +StartLimitIntervalSec=0 +[Service] +Type=simple +Restart=always +RestartSec=5 +User=dkf +WorkingDirectory=/home/dkf +ExecStart=/home/dkf/monero-wallet-rpc --wallet-file /home/dkf/dkf-poker-stagenet.keys --daemon-address 3.10.182.182:38081 --stagenet --rpc-bind-port 6061 --password '' --disable-rpc-login +LimitNOFILE=65536 +KillSignal=SIGINT + +[Install] +WantedBy=multi-user.target