mirror of
https://github.com/fairyglade/ly.git
synced 2025-12-20 19:24:53 +00:00
Install SysVinit service as an executable
Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
@@ -316,7 +316,7 @@ fn install_service(allocator: std.mem.Allocator, patch_map: PatchMap) !void {
|
|||||||
defer service_dir.close();
|
defer service_dir.close();
|
||||||
|
|
||||||
const patched_service = try patchFile(allocator, "res/ly-sysvinit", patch_map);
|
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 });
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user