mirror of https://github.com/fairyglade/ly.git
Install SysVinit service as an executable
Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
parent
412994775b
commit
8df9603188
|
@ -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 });
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue