mirror of
https://codeberg.org/fairyglade/ly.git
synced 2026-08-19 20:14:19 +02:00
Make runit run and finish scripts executable
Signed-off-by: AnErrupTion <anerruption@disroot.org>
This commit is contained in:
parent
b84e6c9eed
commit
2b0301c1d0
1 changed files with 2 additions and 2 deletions
|
|
@ -144,8 +144,8 @@ pub fn ServiceInstaller(comptime init_system: InitSystem) type {
|
|||
defer service_dir.close();
|
||||
|
||||
try std.fs.cwd().copyFile("res/ly-runit-service/conf", service_dir, "conf", .{});
|
||||
try std.fs.cwd().copyFile("res/ly-runit-service/finish", service_dir, "finish", .{});
|
||||
try std.fs.cwd().copyFile("res/ly-runit-service/run", service_dir, "run", .{});
|
||||
try std.fs.cwd().copyFile("res/ly-runit-service/finish", service_dir, "finish", .{ .override_mode = 0o755 });
|
||||
try std.fs.cwd().copyFile("res/ly-runit-service/run", service_dir, "run", .{ .override_mode = 0o755 });
|
||||
},
|
||||
.Systemd => {
|
||||
const service_path = try std.fs.path.join(allocator, &[_][]const u8{ dest_directory, "/usr/lib/systemd/system" });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue