Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

install nodeos as service linux

# You need only to add that file to /etc/systemd/system/nodeos.service
# In that example nodeos is installed in that folder : /home/nodeos/.local/share/eosio/nodeos
# And execute that commands : 
# sudo chmod +x /etc/systemd/system/nodeos.service
# sudo systemctl start nodeos
# sudo systemctl enable nodeos

[Unit]
Description=nodeos
After=network.target

[Service]
WorkingDirectory=/home/nodeos/.local/share/eosio/nodeos
User=nodeos
Type=simple
ExecStart=/usr/bin/nodeos
SuccessExitStatus=143
KillMode=mixed
StandardOutput=file:/home/nodeos/.local/share/eosio/nodeos/nodeos.log
StandardError=file:/home/nodeos/.local/share/eosio/nodeos/nodeos.log

[Install]
WantedBy=multi-user.target
Comment

PREVIOUS NEXT
Code Example
Shell :: view git stash without applying 
Shell :: install pip3 linux 
Shell :: restart network centos 
Shell :: bash: lsb_release: command not found 
Shell :: firewall-cmd add port 
Shell :: login without a password is forbidden by configuration (see allownopassword) ubuntu 
Shell :: upgrade ubuntu version command line 
Shell :: bash remove empty line 
Shell :: ufw see open ports 
Shell :: install .net sdk on ubuntu 
Shell :: firebase cli brew 
Shell :: change default shell fish 
Shell :: run heroku bash in terminal 
Shell :: uninstall pm2 
Shell :: get random number shell script 
Shell :: make all files in directory executable 
Shell :: vim replace tabs with spaces 
Shell :: how to check all origins of a git 
Shell :: bash remove characters from end of every line 
Shell :: list available/configured AWS CLI profiles 
Shell :: microsoft edge ubuntu uninstall command 
Shell :: install socket io client 
Shell :: How to restart MongoDB in Linux 
Shell :: install video studio code arm64 
Shell :: open wsl folder in windows explorer 
Shell :: install en_web_core md 
Shell :: set by RBENV_VERSION environment variable 
Shell :: add folder to path mac 
Shell :: install lutris kali linux 
Shell :: check codedeploy agent status 
ADD CONTENT
Topic
Content
Source link
Name
1+5 =