2023-11-12 12:14:59 +00:00
|
|
|
[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\
|
2024-08-02 12:27:10 +00:00
|
|
|
# Uncomment the following line to use external tor
|
|
|
|
# --hiddenServiceAddress=example.onion\
|
2023-11-12 12:14:59 +00:00
|
|
|
--nodePort=2002\
|
|
|
|
--appName=haveno-XMR_STAGENET_Seed_2002\
|
|
|
|
# --logLevel=trace\
|
2024-07-10 16:54:15 +00:00
|
|
|
--xmrNode=http://[::1]:38088\
|
2023-11-12 12:14:59 +00:00
|
|
|
--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]
|
2024-07-10 16:54:15 +00:00
|
|
|
WantedBy=multi-user.target
|