mirror of
https://github.com/unman/shaker.git
synced 2024-12-24 06:49:37 -05:00
Monero - configure daemon and wallet qubes
This commit is contained in:
parent
57efd1fe77
commit
10f3a4c68a
24
monero/configure.sls
Normal file
24
monero/configure.sls
Normal file
@ -0,0 +1,24 @@
|
||||
# vim: set syntax=yaml ts=2 sw=2 sts=2 et :
|
||||
#
|
||||
#
|
||||
|
||||
/home/user/monerod.service:
|
||||
file.managed:
|
||||
- source:
|
||||
- salt://monero/monerod.service
|
||||
- makedirs: True
|
||||
- user: user
|
||||
- group: user
|
||||
- mode: 644
|
||||
|
||||
/rw/config/rc.local:
|
||||
file.append:
|
||||
- text: |
|
||||
cp /home/user/monerod.service /lib/systemd/system
|
||||
systemctl start monerod.service
|
||||
|
||||
/rw/usrlocal/etc/qubes-rpc/user.monerod:
|
||||
file.append:
|
||||
- text: socat STDIO TCP:localhost:18081
|
||||
- makedirs: True
|
||||
|
5
monero/configure.top
Normal file
5
monero/configure.top
Normal file
@ -0,0 +1,5 @@
|
||||
# vim: set syntax=yaml ts=2 sw=2 sts=2 et :
|
||||
|
||||
base:
|
||||
monerod-ws:
|
||||
- monero.configure
|
8
monero/configure_wallet.sls
Normal file
8
monero/configure_wallet.sls
Normal file
@ -0,0 +1,8 @@
|
||||
# vim: set syntax=yaml ts=2 sw=2 sts=2 et :
|
||||
#
|
||||
#
|
||||
|
||||
/rw/config/rc.local:
|
||||
file.append:
|
||||
- text: |
|
||||
socat TCP-LISTEN:18081,fork,bind=127.0.0.1 EXEC:"qrexec-client-vm monerod-ws user.monerod"
|
5
monero/configure_wallet.top
Normal file
5
monero/configure_wallet.top
Normal file
@ -0,0 +1,5 @@
|
||||
# vim: set syntax=yaml ts=2 sw=2 sts=2 et :
|
||||
|
||||
base:
|
||||
monero-wallet-ws:
|
||||
- monero.configure_wallet
|
Loading…
Reference in New Issue
Block a user