mirror of
https://github.com/haveno-dex/haveno.git
synced 2024-12-24 23:09:36 -05:00
d4a9838cd8
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>
36 lines
761 B
Desktop File
36 lines
761 B
Desktop File
[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\
|
|
# Uncomment the following line to use external tor
|
|
# --hiddenServiceAddress=example.onion\
|
|
--nodePort=2002\
|
|
--appName=haveno-XMR_STAGENET_Seed_2002\
|
|
--xmrNode=http://[::1]:38088
|
|
|
|
ExecStop=/bin/kill ${MAINPID} ; sleep 5
|
|
Restart=always
|
|
|
|
# Hardening
|
|
PrivateTmp=true
|
|
ProtectSystem=full
|
|
NoNewPrivileges=true
|
|
PrivateDevices=true
|
|
MemoryDenyWriteExecute=false
|
|
ProtectControlGroups=true
|
|
ProtectKernelTunables=true
|
|
RestrictSUIDSGID=true
|
|
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|