Re: certbot in cron - best way?

2024-02-21 Thread misc
On 2/21/24 10:07, Stuart Henderson wrote: You might like to investigate ~ in crontab(5), e.g. "~ 0,12" and lose the "sleep". Wouldn't it be better to have certbot write files into a directory served by httpd so you don't need the "rcctl stop" though? Yes, it would be better. Today had a

Re: Automatic OS updates

2024-02-21 Thread Stuart Henderson
Kernels with just "OpenBSD 7.5" will appear for some time before pub/OpenBSD/7.5/*/packages are available. -- Sent from a phone, apologies for poor formatting. On 21 February 2024 20:36:39 Kirill A. Korinsky wrote: On Wed, 21 Feb 2024 21:11:05 +0100, Stuart Henderson wrote: If you're

Re: Automatic OS updates

2024-02-21 Thread Michał Markowski
Well, in a few weeks you will see why you need it.

Re: Automatic OS updates

2024-02-21 Thread Kirill A . Korinsky
On Wed, 21 Feb 2024 21:11:05 +0100, Stuart Henderson wrote: > > If you're using sysupgrade -s, you also want -Dsnap in pkg_add. > After double check in man it seems not nessesary, let me quote: %c Expands to the string "snapshots" when running a -current or -beta kernel, or if

Re: Automatic OS updates

2024-02-21 Thread Stuart Henderson
On 2024-02-21, b...@fea.st wrote: > FWIW if you guys want to yell at me for spreading bad ideas, > I've posted how to do automatic updates here: > > https://openbsd.pages.dev/auto-updates/ If you're using sysupgrade -s, you also want -Dsnap in pkg_add.

Re: Automatic OS updates

2024-02-21 Thread Kirill A . Korinsky
On Wed, 21 Feb 2024 18:05:56 +0100, b...@fea.st wrote: > > FWIW if you guys want to yell at me for spreading bad ideas, > I've posted how to do automatic updates here: > > https://openbsd.pages.dev/auto-updates/ > > I'm both trying out the Hugo package and like, documenting > how I've set

Re: Automatic OS updates

2024-02-21 Thread bsd
FWIW if you guys want to yell at me for spreading bad ideas, I've posted how to do automatic updates here: https://openbsd.pages.dev/auto-updates/ I'm both trying out the Hugo package and like, documenting how I've set things up in case I have to reinstall. Time moves fast and I'm damn

Re: Block HTTP requests from non-browser clients

2024-02-21 Thread bsd
Sorry I posted to the wrong thread. Please disregard.

Re: Block HTTP requests from non-browser clients

2024-02-21 Thread bsd
FWIW if you guys want to yell at me for spreading bad ideas, I've posted how to do automatic updates here: https://openbsd.pages.dev/auto-updates/ I'm both trying out the Hugo package and like, documenting how I've set things up in case I have to reinstall. Time moves fast and I'm damn

Re: Block HTTP requests from non-browser clients

2024-02-21 Thread Omar Polo
On 2024/02/21 21:57:29 +0800, Sadeep Madurange wrote: > Hello, > > Is there a way to block non-browser clients from accessing a website > (e.g., scraping attempts by bots or even software like Selenium that > might programmatically control a browser), preferrably before the > requests reach the

Re: Block HTTP requests from non-browser clients

2024-02-21 Thread Kirill A . Korinsky
On Wed, 21 Feb 2024 14:57:29 +0100, Sadeep Madurange wrote: > > Is there a way to block non-browser clients from accessing a website > (e.g., scraping attempts by bots or even software like Selenium that > might programmatically control a browser), preferrably before the > requests reach the

Block HTTP requests from non-browser clients

2024-02-21 Thread Sadeep Madurange
Hello, Is there a way to block non-browser clients from accessing a website (e.g., scraping attempts by bots or even software like Selenium that might programmatically control a browser), preferrably before the requests reach the webserver? I'm wondering if there's a to do that with, for

Re: certbot in cron - best way?

2024-02-21 Thread Stuart Henderson
On 2024-02-20, Odhiambo Washington wrote: > This should work: > > 0 0,12 * * * /bin/sleep 1552 && rcctl stop httpd && certbot renew && > rcctl start httpd You might like to investigate ~ in crontab(5), e.g. "~ 0,12" and lose the "sleep". Wouldn't it be better to have certbot write files into

Re: Automatic OS updates

2024-02-21 Thread Stuart Henderson
On 2024-02-20, obs...@loopw.com wrote: > > >> On Feb 20, 2024, at 2:31 AM, Thomas Schmidt >> wrote: >> >> OP did indeed mean `sysupgrade`, > > which makes little sense _unless_ on -current, which will guarantee to break > this every sixth months when -current shifts about. > >> but fwiw,

Re: Function key in cwmrc

2024-02-21 Thread Ioan Samarul
On Mon, Feb 19, 2024 at 8:41 AM Omar Polo wrote: > > On 2024/02/19 07:34:01 +, Ioan Samarul wrote: > > Hello to you all! > > > > Is it possible to define something like - in cwm configuration > > file? The function key combination from my laptop are not recognized > > so I try to create a