mirror of
https://github.com/boldsuck/haveno.git
synced 2024-12-23 20:49:21 +00:00
26 lines
577 B
SYSTEMD
26 lines
577 B
SYSTEMD
|
[Unit]
|
||
|
Description=Private stagenet node
|
||
|
After=network.target
|
||
|
|
||
|
[Service]
|
||
|
User=monero-stagenet
|
||
|
Group=monero-stagenet
|
||
|
Type=simple
|
||
|
ExecStart=/home/monero-stagenet/monerod --config-file /home/monero-stagenet/private-stagenet.conf --non-interactive
|
||
|
SyslogIdentifier=private-stagenet-node
|
||
|
Restart=always
|
||
|
|
||
|
# Hardening
|
||
|
PrivateTmp=true
|
||
|
#ProtectSystem=full
|
||
|
NoNewPrivileges=true
|
||
|
PrivateDevices=true
|
||
|
MemoryDenyWriteExecute=false
|
||
|
ProtectControlGroups=true
|
||
|
ProtectKernelTunables=true
|
||
|
RestrictSUIDSGID=true
|
||
|
# limit memory usage to 4gb
|
||
|
LimitRSS=4000000000
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|