From 4b34ed1f167b9dc61479ce74f61c6cceef381959 Mon Sep 17 00:00:00 2001 From: Dave Date: Thu, 19 Nov 2020 18:05:39 +0000 Subject: [PATCH] Adding the ulimit stuff to suggested service file. --- scripts/systemd/nym-mixnode.service | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/systemd/nym-mixnode.service b/scripts/systemd/nym-mixnode.service index aa0a883d1f..916d279fa2 100644 --- a/scripts/systemd/nym-mixnode.service +++ b/scripts/systemd/nym-mixnode.service @@ -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