haveno/scripts/deployment/haveno-seednode.service
Shortwavesurfer2009 b0c73d1b39
Some checks are pending
CI / build (macos-13) (push) Waiting to run
CI / build (ubuntu-latest) (push) Waiting to run
CI / build (windows-latest) (push) Waiting to run
Codacy Coverage Reporter / Publish coverage (push) Waiting to run
CodeQL / Analyze (java) (push) Waiting to run
update to ipv6 address in seednode service
2024-07-11 11:54:55 -04:00

36 lines
773 B
Desktop File

[Unit]
Description=Haveno seednode
After=network.target
[Service]
User=haveno
Group=haveno
SyslogIdentifier=Haveno-Seednode
ExecStart=/bin/sh /home/haveno/haveno/haveno-seednode --baseCurrencyNetwork=XMR_STAGENET\
--useLocalhostForP2P=false\
--useDevPrivilegeKeys=false\
--nodePort=2002\
--appName=haveno-XMR_STAGENET_Seed_2002\
# --logLevel=trace\
--xmrNode=http://[::1]:38088\
--xmrNodeUsername=admin\
--xmrNodePassword=password
ExecStop=/bin/kill ${MAINPID}
Restart=always
# Hardening
PrivateTmp=true
ProtectSystem=full
NoNewPrivileges=true
PrivateDevices=true
MemoryDenyWriteExecute=false
ProtectControlGroups=true
ProtectKernelTunables=true
RestrictSUIDSGID=true
# limit memory usage to 2gb
LimitRSS=2000000000
[Install]
WantedBy=multi-user.target