mirror of
https://github.com/haveno-dex/haveno.git
synced 2024-11-16 15:58:08 +00:00
d4a9838cd8
Some checks are pending
Co-authored-by: shortwavesurfer2009 <116814522+shortwavesurfer2009@users.noreply.github.com> Co-authored-by: fa2a5qj3 <174058787+fa2a5qj3@users.noreply.github.com> Co-authored-by: preland <prelandofficialmusic@gmail.com>
38 lines
868 B
Desktop File
38 lines
868 B
Desktop File
[Unit]
|
|
Description=Haveno seednode 2
|
|
After=network.target
|
|
|
|
[Service]
|
|
User=haveno
|
|
Group=haveno
|
|
SyslogIdentifier=Haveno-Seednode2
|
|
|
|
ExecStart=/bin/sh /home/haveno/haveno/haveno-seednode --baseCurrencyNetwork=XMR_STAGENET\
|
|
--useLocalhostForP2P=false\
|
|
--useDevPrivilegeKeys=false\
|
|
# Uncomment the following line to use external tor
|
|
# --hiddenServiceAddress=example.onion\
|
|
--nodePort=2003\
|
|
--appName=haveno-XMR_STAGENET_Seed_2003\
|
|
# --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
|