[Bug 288957] [patch] devel/forgejo-act_runner: supervisor mode for daemon(8)
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 288957] devel/forgejo-act_runner: add supervisor mode for daemon(8)"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 288957] devel/forgejo-runner: add supervisor mode for daemon(8)"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 288957] devel/forgejo-runner: add supervisor mode for daemon(8)"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 288957] devel/forgejo-runner: add supervisor mode for daemon(8)"
- Reply: bugzilla-noreply_a_freebsd.org: "[Bug 288957] devel/forgejo-runner: add supervisor mode for daemon(8)"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 19 Aug 2025 13:18:36 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288957
Bug ID: 288957
Summary: [patch] devel/forgejo-act_runner: supervisor mode for
daemon(8)
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: ports-bugs@FreeBSD.org
Reporter: terehovv@mail.ru
Created attachment 263075
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=263075&action=edit
patch for act_runner.in
Same bug: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=287384
If the server is not available when act_runner starts, act_runner terminates.
In my case, I have a jail with www/forgejo and act_runner. When jail starts,
forgejo takes about 5 seconds to initialize a web server that act_runner could
connect to, and during that time, act_runner terminates.
I used the patch in the attachment to put daemon(8) in supervisor mode, and
that fixed my problem.
Notes:
1. This is a breaking change - previously set act_runner_flags specified in
rc.conf are applied to daemon(8), not act_runner. To pass parameters to
act_runner, act_runner_args is used.
2. The system must be updated due to FreeBSD-EN-25:06.daemon
P.S. In theory, we can remove the '-r' flag from command_args. This will
preserve compatibility with unpatched systems and allow us to add it manually
via act_runner_flags where needed. However, I'm not sure if we should use the
'-P' flag without the '-r' flag.
--
You are receiving this mail because:
You are the assignee for the bug.