On 2023-04-25, rea...@catastrophe.net wrote:
> So if ${daemon} is declared as "autossh", using the built-in
> pexp="${daemon}:.*" would kill off multiple running autossh
> instances.
The idea is that pexp should have a bit more of the command line so
it only matches the process started by that r
On Tue, Apr 25, 2023 at 03:07:19PM -0600, Ashlen wrote:
>rc_exec is a function, not a variable. rc.subr(8) demonstrates how to
>use it. This is what I meant for you to do:
>
>rc_start() {
>rc_exec "${daemon} ${daemon_flags_1}" && \
>rc_exec "${daemon} ${daemon_flags_2}"
>}
Whoops, my fault
On 2023-04-25 14:20, rea...@catastrophe.net wrote:
> On Tue, Apr 25, 2023 at 01:06:35PM -0600, Ashlen wrote:
> >On 2023-04-25 10:45, rea...@catastrophe.net wrote:
> >> After upgrading to 7.3 autossh is failing using the following rc script
> >> in /etc/rc.d/autossh. It looks like maybe switching t
On Tue, Apr 25, 2023 at 02:20:01PM -0500, rea...@catastrophe.net wrote:
> On Tue, Apr 25, 2023 at 01:06:35PM -0600, Ashlen wrote:
> >On 2023-04-25 10:45, rea...@catastrophe.net wrote:
> >> After upgrading to 7.3 autossh is failing using the following rc script
> >> in /etc/rc.d/autossh. It looks l
On Tue, Apr 25, 2023 at 07:18:12PM -, Stuart Henderson wrote:
>On 2023-04-25, rea...@catastrophe.net wrote:
>> On Tue, Apr 25, 2023 at 08:32:35PM +0200, Antoine Jacoutot wrote:
[..]
>
>So let's ignore this ls -l red herring, which cannot have worked
>in 7.2 either (I think you might have meant
On Tue, Apr 25, 2023 at 01:06:35PM -0600, Ashlen wrote:
>On 2023-04-25 10:45, rea...@catastrophe.net wrote:
>> After upgrading to 7.3 autossh is failing using the following rc script
>> in /etc/rc.d/autossh. It looks like maybe switching to $daemon_user is
>> not happening to find the correct ssh
On 2023-04-25, rea...@catastrophe.net wrote:
> On Tue, Apr 25, 2023 at 08:32:35PM +0200, Antoine Jacoutot wrote:
>>On Tue, Apr 25, 2023 at 01:16:22PM -0500, rea...@catastrophe.net wrote:
>>> On Tue, Apr 25, 2023 at 08:09:46PM +0200, Antoine Jacoutot wrote:
>>> >On Tue, Apr 25, 2023 at 12:41:41PM -
On 2023-04-25 10:45, rea...@catastrophe.net wrote:
> After upgrading to 7.3 autossh is failing using the following rc script
> in /etc/rc.d/autossh. It looks like maybe switching to $daemon_user is
> not happening to find the correct ssh config stanzas? Thanks in advance
> for any help.
>
>
> ##
On Tue, Apr 25, 2023 at 08:32:35PM +0200, Antoine Jacoutot wrote:
>On Tue, Apr 25, 2023 at 01:16:22PM -0500, rea...@catastrophe.net wrote:
>> On Tue, Apr 25, 2023 at 08:09:46PM +0200, Antoine Jacoutot wrote:
>> >On Tue, Apr 25, 2023 at 12:41:41PM -0500, rea...@catastrophe.net wrote:
>> >> On Tue, A
On Tue, Apr 25, 2023 at 01:16:22PM -0500, rea...@catastrophe.net wrote:
> On Tue, Apr 25, 2023 at 08:09:46PM +0200, Antoine Jacoutot wrote:
> >On Tue, Apr 25, 2023 at 12:41:41PM -0500, rea...@catastrophe.net wrote:
> >> On Tue, Apr 25, 2023 at 12:03:51PM -0500, rea...@catastrophe.net wrote:
> >> >O
On Tue, Apr 25, 2023 at 08:09:46PM +0200, Antoine Jacoutot wrote:
>On Tue, Apr 25, 2023 at 12:41:41PM -0500, rea...@catastrophe.net wrote:
>> On Tue, Apr 25, 2023 at 12:03:51PM -0500, rea...@catastrophe.net wrote:
>> >On Tue, Apr 25, 2023 at 10:45:21AM -0500, rea...@catastrophe.net wrote:
>> >> [..
On Tue, Apr 25, 2023 at 12:41:41PM -0500, rea...@catastrophe.net wrote:
> On Tue, Apr 25, 2023 at 12:03:51PM -0500, rea...@catastrophe.net wrote:
> >On Tue, Apr 25, 2023 at 10:45:21AM -0500, rea...@catastrophe.net wrote:
> >> [..]
> >> [ some bad paste ]
> >
> >Just a clarification: the rc script i
On Tue, Apr 25, 2023 at 12:03:51PM -0500, rea...@catastrophe.net wrote:
>On Tue, Apr 25, 2023 at 10:45:21AM -0500, rea...@catastrophe.net wrote:
>> [..]
>> [ some bad paste ]
>
>Just a clarification: the rc script in /etc/rc.d/autossh actually looks like
>
>#!/bin/ksh
># start autossh tunnel
># req
On Tue, Apr 25, 2023 at 10:45:21AM -0500, rea...@catastrophe.net wrote:
> [..]
> [ some bad paste ]
Just a clarification: the rc script in /etc/rc.d/autossh actually looks like
#!/bin/ksh
# start autossh tunnel
# requires remoteuser user with $HOME/.ssh/config and keys
daemon="/usr/local/bin/aut
After upgrading to 7.3 autossh is failing using the following rc script
in /etc/rc.d/autossh. It looks like maybe switching to $daemon_user is
not happening to find the correct ssh config stanzas? Thanks in advance
for any help.
## Startup configuration
#!/bin/ksh
# start autossh tunnel
# requi
15 matches
Mail list logo