ipfs私链服务

cd /lib/systemd/system

vi ipfs.service

[Unit]
Description=IPFS
[Service]
ExecStart=/usr/bin/ipfs daemon
Restart=always
User=root
Group=root
[Install]
WantedBy=multi-user.target


systemctl enable ipfs.service
systemctl start ipfs.service
systemctl status ipfs.service

 

 

posted @ 2018-12-13 14:51  人艰不拆_zmc  阅读(277)  评论(0编辑  收藏  举报