Install SysVinit service as an executable

Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
AnErrupTion 2025-10-17 23:12:21 +02:00
parent 412994775b
commit 8df9603188
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -316,7 +316,7 @@ fn install_service(allocator: std.mem.Allocator, patch_map: PatchMap) !void {
defer service_dir.close();
const patched_service = try patchFile(allocator, "res/ly-sysvinit", patch_map);
try installText(patched_service, service_dir, service_path, "ly", .{});
try installText(patched_service, service_dir, service_path, "ly", .{ .mode = 0o755 });
},
}
}