GHHG10's picture
download
raw
469 Bytes
import { EOL } from "os"
import * as Effect from "effect/Effect"
import { Commands } from "../../commands"
import { Runtime } from "../../../framework/runtime"
import { Daemon } from "../../../services/daemon"
export default Runtime.handler(
Commands.commands.service.commands.restart,
Effect.fn("cli.service.restart")(function* () {
const daemon = yield* Daemon.Service
yield* daemon.stop()
process.stdout.write((yield* daemon.start()) + EOL)
}),
)

Xet Storage Details

Size:
469 Bytes
·
Xet hash:
769ae772d535a67132f098e62e01709569f4a1baa3f5bc029360146b73bf140a

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.