message: ci: ckb service start failed on self runner,fix it
diff: @@ -30,6 +30,7 @@ jobs:
  rm -rf /tmp/ckb_*
  - name: Update ExecStart&StandardOutput
  run: |
  + sed -i "s#User=.*#User=$USER#g" ${{ github.workspace }}/devtools/smoking_test/ckb.service
  sed -i "s#ExecStart=.*#ExecStart=${{github.workspace}}/ckb run -C ${{github.workspace}}#g" ${{ github.workspace }}/devtools/smoking_test/ckb.service
  sed -i "s#StandardOutput=.*#StandardOutput=file:${{github.workspace}}/data/logs/run.log#g" ${{ github.workspace }}/devtools/smoking_test/ckb.service
  - name: Init&Start ckb testnet with v0.35.0
  @@ -69,6 +70,7 @@ jobs:
  cp ${CARGO_TARGET_DIR}/release/ckb ${{ github.workspace }}/ckb
  - name: Update ExecStart&StandardOutput
  run: |
  + sed -i "s#User=.*#User=$USER#g" ${{ github.workspace }}/devtools/smoking_test/ckb.service
  sed -i "s#ExecStart=.*#ExecStart=${{github.workspace}}/ckb run -C ${{github.workspace}}#g" ${{ github.workspace }}/devtools/smoking_test/ckb.service
  sed -i "s#StandardOutput=.*#StandardOutput=file:${{github.workspace}}/data/logs/run.log#g" ${{ github.workspace }}/devtools/smoking_test/ckb.service
  - name: Regenerate testnet configuration
  @@ -91,7 +93,7 @@ jobs:
  if: ${{ success() }}
  run: |
  rm -rf /tmp/data
  - rm -rf /tmp/ckb_*
  + rm -rf /tmp/ckb*
  sudo service ckb stop
  sudo systemctl disable ckb
  sudo systemctl daemon-reload
  