Open myralitv opened 9 months ago
/etc/systemd/system/aleo-node.service file
Description=Archway Node
After=network.target
Wants=network-online.target
StartLimitIntervalSec=500
StartLimitBurst=5
[Service]
User=snarkosadm
Type=simple
ExecStart=start --nodisplay --logfile /dev/null --verbosity 4 --client
Restart=on-failure
LimitNOFILE=65535
WorkingDirectory=/home/snarkosadm
ExecStop=/bin/kill -s INT
RestartSec=5s
Restart=always
[Install]
WantedBy=multi-user.target
/etc/systemd/system/aleo-node.service file
Description=Archway Node After=network.target Wants=network-online.target StartLimitIntervalSec=500 StartLimitBurst=5 [Service] User=snarkosadm Type=simple ExecStart=start --nodisplay --logfile /dev/null --verbosity 4 --client Restart=on-failure LimitNOFILE=65535 WorkingDirectory=/home/snarkosadm ExecStop=/bin/kill -s INT RestartSec=5s Restart=always [Install] WantedBy=multi-user.target
sudo tee /etc/systemd/system/aleo-node.service > /dev/null <<EOF
[Unit]
Description=Archway Node
After=network.target
Wants=network-online.target
StartLimitIntervalSec=500
StartLimitBurst=5
[Service]
User=$USER
Type=simple
ExecStart=/usr/local/bin/snarkos start --nodisplay --logfile /dev/null --verbosity 4 --client
Restart=on-failure
LimitNOFILE=65535
WorkingDirectory=/home/snarkosadm
ExecStop=/bin/kill -s INT ${MAINPID}
RestartSec=5s
Restart=always
[Install]
WantedBy=multi-user.target
EOF
sudo systemctl restart aleo-node
sudo journalctl -feu aleo-node -o cat
/etc/systemd/system/aleo-node.service file
Description=Archway Node After=network.target Wants=network-online.target StartLimitIntervalSec=500 StartLimitBurst=5 [Service] User=snarkosadm Type=simple ExecStart=start --nodisplay --logfile /dev/null --verbosity 4 --client Restart=on-failure LimitNOFILE=65535 WorkingDirectory=/home/snarkosadm ExecStop=/bin/kill -s INT RestartSec=5s Restart=always [Install] WantedBy=multi-user.target
echo 'export PATH="/usr/local/bin:$PATH"' >> ~/.bash_profile
source ~/.bash_profile
The problem was here. Updated the guide. Thank you !
Hi team! Can you explain me what I do wrong, please?
systemctl status aleo-node.service