Skip to content

Commit

Permalink
cgroup: change suffix to .scope (#3844)
Browse files Browse the repository at this point in the history
I think it's more consistent with the name convention used by systemd
and other terminal emulators (e.g. gnome-terminal).

See also: https://systemd.io/CGROUP_DELEGATION/#systemds-unit-types
  • Loading branch information
mitchellh authored Dec 29, 2024
2 parents c8950d3 + 02ca5be commit 6ca64bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/apprt/gtk/Surface.zig
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ pub fn init(self: *Surface, app: *App, opts: Options) !void {
var buf: [256]u8 = undefined;
const name = std.fmt.bufPrint(
&buf,
"surfaces/{X}.service",
"surfaces/{X}.scope",
.{@intFromPtr(self)},
) catch unreachable;

Expand Down

0 comments on commit 6ca64bc

Please sign in to comment.