Skip to content
This repository has been archived by the owner on Mar 7, 2023. It is now read-only.

systemd

robertyun edited this page Mar 2, 2017 · 7 revisions

#Create Service vim /etc/systemd/system/blockchain-wallet-service.service

#Configuration [Unit] Description=BlockChainWallet ' [Service] ExecStart=/usr/bin/node /usr/bin/blockchain-wallet-service start ExecStop=/usr/bin/node /usr/bin/blockchain-wallet-service stop Restart=always RestartSec=10 StandardOutput=syslog StandardError=syslog SyslogIdentifier=blockchain-wallet'

Environment=NODE_ENV=production PORT=3000

[Install] WantedBy=multi-user.target

#Command systemctl enable blockchain-wallet-service systemctl start blockchain-wallet-service systemctl status blockchain-wallet-service systemctl stop blockchain-wallet-service

Clone this wiki locally