2022-08-04 11:04:49 +02:00
|
|
|
[Unit]
|
|
|
|
Description=Haveno seednode
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
User=haveno
|
|
|
|
Group=haveno
|
|
|
|
SyslogIdentifier=Haveno-Seednode
|
|
|
|
|
|
|
|
# $PATH is a placeholder
|
|
|
|
ExecStart=/bin/sh $PATH/haveno-seednode --baseCurrencyNetwork=XMR_STAGENET\
|
|
|
|
--useLocalhostForP2P=false\
|
|
|
|
--useDevPrivilegeKeys=false\
|
2024-08-02 14:27:10 +02:00
|
|
|
# Uncomment the following line to use external tor
|
|
|
|
# --hiddenServiceAddress=example.onion\
|
2022-08-04 11:04:49 +02:00
|
|
|
--nodePort=2002\
|
2024-08-02 14:27:10 +02:00
|
|
|
--appName=haveno-XMR_STAGENET_Seed_2002\
|
2024-07-22 05:08:09 +02:00
|
|
|
--xmrNode=http://[::1]:38088
|
2022-08-04 11:04:49 +02:00
|
|
|
|
2024-07-12 20:15:03 +02:00
|
|
|
ExecStop=/bin/kill ${MAINPID} ; sleep 5
|
2022-08-04 11:04:49 +02:00
|
|
|
Restart=always
|
|
|
|
|
|
|
|
# Hardening
|
|
|
|
PrivateTmp=true
|
|
|
|
ProtectSystem=full
|
|
|
|
NoNewPrivileges=true
|
|
|
|
PrivateDevices=true
|
|
|
|
MemoryDenyWriteExecute=false
|
|
|
|
ProtectControlGroups=true
|
|
|
|
ProtectKernelTunables=true
|
|
|
|
RestrictSUIDSGID=true
|
|
|
|
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|