Adding the ulimit stuff to suggested service file.

This commit is contained in:
Dave
2020-11-19 18:05:39 +00:00
parent 1d851c390c
commit 4b34ed1f16
+3 -3
View File
@@ -38,12 +38,12 @@ Description=nym mixnode service
After=network.target
[Service]
Type=simple
User=nym
Group=nym
ExecStart=/home/nym/nym-mixnode_linux_x86_64 run --id iamboss
ExecStart=/home/nym/nym-mixnode run --id iamboss
Restart=on-abort
KillSignal=SIGINT
KillSignal=SIGINT # gracefully kill the process when stopping the service. Allows node to unregister cleanly.
LimitNOFILE=65535 # this sets a higher ulimit for your mixnode, so it will still work as the network grows
[Install]
WantedBy=multi-user.target