mirror of
https://git.wownero.com/dsc/ansible-remote-node.git
synced 2024-08-15 01:03:28 +00:00
Initial commit
This commit is contained in:
commit
3ca64f164d
13 changed files with 196 additions and 0 deletions
14
roles/wownerod/templates/wownerod.conf.j2
Normal file
14
roles/wownerod/templates/wownerod.conf.j2
Normal file
|
@ -0,0 +1,14 @@
|
|||
check-updates=disabled
|
||||
confirm-external-bind=1
|
||||
data-dir=/var/lib/wownero
|
||||
log-file=/var/log/wownero/wownerod.log
|
||||
log-level=0
|
||||
no-igd=1
|
||||
p2p-bind-port={{ wownerod_p2p_port }}
|
||||
p2p-use-ipv6=1
|
||||
public-node=1
|
||||
restricted-rpc=1
|
||||
rpc-bind-ip=0.0.0.0
|
||||
rpc-bind-ipv6-address=::0
|
||||
rpc-bind-port={{ wownerod_rpc_port }}
|
||||
rpc-use-ipv6=1
|
17
roles/wownerod/templates/wownerod.service.j2
Normal file
17
roles/wownerod/templates/wownerod.service.j2
Normal file
|
@ -0,0 +1,17 @@
|
|||
[Unit]
|
||||
Description=Wownero Full Node
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
User=wownero
|
||||
Group=wownero
|
||||
Environment="MONERO_RANDOMX_UMASK=1"
|
||||
StateDirectory=wownero
|
||||
LogsDirectory=wownero
|
||||
Type=simple
|
||||
PIDFile=/run/wownero/wownerod.pid
|
||||
ExecStart={{ wownerod_path }} --config-file /etc/wownerod.conf --non-interactive
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue