Re: login.conf doesn't seem to be passing the enviroment variable to rc.d

2023-08-28 Thread Antoine Jacoutot
On Mon, Aug 28, 2023 at 11:31:41AM -, Stuart Henderson wrote: > > #!/bin/ksh daemon="/usr/local/sbin/dynaruby" name="dynaruby" . > > "name" is not something which is used by rc.d > > > Then, I set dynaruby_flags and pkg_scripts in /etc/rc.conf.local like this: > > dynaruby_flags="" dynaruby_e

Re: login.conf doesn't seem to be passing the enviroment variable to rc.d

2023-08-28 Thread Stuart Henderson
On 2023-08-27, Dillon Wreek wrote: > Hello, I will start from the beginning in hope that someone can make some > sense of this. > I have a very simple ruby script that lives in sbin. It sends a get request > every x minutes to ifconfig to check if the pub ip of the machine changed > and sends anot

login.conf doesn't seem to be passing the enviroment variable to rc.d

2023-08-27 Thread Dillon Wreek
Hello, I will start from the beginning in hope that someone can make some sense of this. I have a very simple ruby script that lives in sbin. It sends a get request every x minutes to ifconfig to check if the pub ip of the machine changed and sends another get request to no-ip to notify any changes