arisa 2.1.6 → 2.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/arisa.js +3 -3
- package/package.json +1 -1
package/bin/arisa.js
CHANGED
|
@@ -575,7 +575,7 @@ if (isRoot()) {
|
|
|
575
575
|
step(true, "Systemd service enabled (auto-starts on reboot)");
|
|
576
576
|
|
|
577
577
|
process.stdout.write("\nStarting interactive setup as user arisa...\n\n");
|
|
578
|
-
const su = spawnSync("su", ["-", "arisa", "-c", "/home/arisa/.bun/bin/arisa"], {
|
|
578
|
+
const su = spawnSync("su", ["-", "arisa", "-c", "/home/arisa/.bun/bin/bun /home/arisa/arisa/src/daemon/index.ts"], {
|
|
579
579
|
stdio: "inherit",
|
|
580
580
|
});
|
|
581
581
|
|
|
@@ -604,7 +604,7 @@ Arisa management:
|
|
|
604
604
|
if (isDefaultInvocation) {
|
|
605
605
|
if (!isArisaConfigured()) {
|
|
606
606
|
process.stdout.write("Arisa is not configured yet. Starting interactive setup...\n\n");
|
|
607
|
-
const su = spawnSync("su", ["-", "arisa", "-c", "/home/arisa/.bun/bin/arisa"], {
|
|
607
|
+
const su = spawnSync("su", ["-", "arisa", "-c", "/home/arisa/.bun/bin/bun /home/arisa/arisa/src/daemon/index.ts"], {
|
|
608
608
|
stdio: "inherit",
|
|
609
609
|
});
|
|
610
610
|
process.stdout.write(`
|
|
@@ -640,7 +640,7 @@ Arisa management:
|
|
|
640
640
|
case "daemon":
|
|
641
641
|
case "run": {
|
|
642
642
|
// Explicit "arisa daemon/run" → foreground as arisa user
|
|
643
|
-
const su = spawnSync("su", ["-", "arisa", "-c", "/home/arisa/.bun/bin/arisa"], {
|
|
643
|
+
const su = spawnSync("su", ["-", "arisa", "-c", "/home/arisa/.bun/bin/bun /home/arisa/arisa/src/daemon/index.ts"], {
|
|
644
644
|
stdio: "inherit",
|
|
645
645
|
});
|
|
646
646
|
process.exit(su.status ?? 1);
|