diff --git a/packages/cli-ipfs/src/modules/ipfs.ts b/packages/cli-ipfs/src/modules/ipfs.ts index 7215ff8b..9b90c4a4 100644 --- a/packages/cli-ipfs/src/modules/ipfs.ts +++ b/packages/cli-ipfs/src/modules/ipfs.ts @@ -11,9 +11,9 @@ import type { DXNSClient } from '@dxos/cli-dxns'; import { init, install, publish, register, query /*, download */ } from '../handlers'; -const IPFS_EXEC = 'ipfs'; -const IPFS_PROCESS_NAME = 'ipfs'; -const IPFS_DEFAULT_LOG_FILE = '/var/log/ipfs.log'; +const IPFS_EXEC = 'kube'; +const IPFS_PROCESS_NAME = 'kube'; +const IPFS_DEFAULT_LOG_FILE = '/var/log/kube.log'; const IPFS_SWARM_CONNECTOR_EXEC = 'node'; const IPFS_SWARM_CONNECTOR_PROCESS_NAME = 'ipfs-swarm-connect'; diff --git a/packages/cli-ipfs/src/runnable/swarm-connect.ts b/packages/cli-ipfs/src/runnable/swarm-connect.ts index 17cb27ea..5570be96 100644 --- a/packages/cli-ipfs/src/runnable/swarm-connect.ts +++ b/packages/cli-ipfs/src/runnable/swarm-connect.ts @@ -14,13 +14,13 @@ const OLD_RECORD_CREATED = '2001-01-01'; const LIMIT = 5; const TIMEOUT = 10000; -const SERVICE_EXEC = 'ipfs'; +const SERVICE_EXEC = 'kube'; const SVC_NAME = 'ipfs-swarm-connect'; const IPFS_SERVICE_DXN = 'dxos:type/service/ipfs'; const SERVICE_DXN = 'dxos:type/service'; const connect = (address: string) => { - const result = spawnSync(SERVICE_EXEC, ['swarm', 'connect', address]); + const result = spawnSync(SERVICE_EXEC, ['ipfs', 'swarm', 'connect', address]); const out = String(result.stdout).trim(); const err = String(result.stderr).trim(); if (out) {