Bob Mottram 8 年之前
父節點
當前提交
35617f5e1e
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      src/freedombone-app-ipfs

+ 1
- 1
src/freedombone-app-ipfs 查看文件

@@ -256,8 +256,8 @@ function install_ipfs_js {
256 256
     echo '[Install]' >> $IPFS_DAEMON_FILE
257 257
     echo 'WantedBy=multi-user.target' >> $IPFS_DAEMON_FILE
258 258
 
259
-    systemctl daemon-reload
260 259
     systemctl enable ${IPFS_DAEMON_NAME}
260
+    systemctl daemon-reload
261 261
     systemctl restart ${IPFS_DAEMON_NAME}
262 262
 
263 263
     if [ -d /etc/avahi ]; then