From 8df9603188b25c886037b96c2ebe5a0edf7ff885 Mon Sep 17 00:00:00 2001 From: AnErrupTion Date: Fri, 17 Oct 2025 23:12:21 +0200 Subject: [PATCH] Install SysVinit service as an executable Signed-off-by: AnErrupTion --- build.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.zig b/build.zig index 1373f00..06b6d54 100644 --- a/build.zig +++ b/build.zig @@ -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 }); }, } }