Compare commits

..

No commits in common. "9af663a0c960ba2d5307824d1336a6851d5a9027" and "6e3ab487200147793b72736b6d78d1c3057341eb" have entirely different histories.

3 changed files with 3 additions and 3 deletions

View file

@ -11,7 +11,7 @@ import {
import { tmpdir } from "node:os";
import path from "node:path";
import { cwd } from "node:process";
import { execFile } from "./helpers/better-api.js";
import { execFile } from "./helpers/better-api";
export class Alpine {
dir: string;

View file

@ -1,5 +1,5 @@
import { getuid } from "node:process";
import { execFile } from "./better-api.js";
import { execFile } from "./better-api";
export async function sudoChown(path: string, owner: string): Promise<void> {
await execFile("sudo", ["chown", owner, path]);

View file

@ -111,7 +111,7 @@ exec chpst -P getty 38400 ttyS0 linux`,
`#!/bin/sh
exec logger -p daemon.info -t '${name}'`
);
await this.alpine.sudoSymlink(
await this.alpine.symlink(
`/run/runit/supervise.${name}.log`,
path.join("/etc/sv/", name, "/log/supervise")
);