On Tue, 08 Aug 2023, Sebastien Marie wrote:

> On Tue, Aug 08, 2023 at 04:01:17PM +0200, Paco Esteban wrote:
> > 
> > Find attached the updated version that removes the wrapper script and
> > makes use of login classes.
> > 
> 
> one question:
> 
> in pkg/README, you have the example
>       # rcctl set shiori flags -a 0.0.0.0 -p 1234
> 
> and in pkg/shiori.rc, the default daemon_flags value is "serve -a localhost"
> 
> if I properly understand thecommand-line, 'serve' is a command which is 
> required 
> to be passed for the service.
> 
> if you don't want to have to pass it systematically (rcctl set shiori flags 
> serve -a 0.0.0.0 -p 1234),
> maybe the following will work:
> 
> pkg/shiori.rc
>       -daemon="${TRUEPREFIX}/bin/shiori"
>       +daemon="${TRUEPREFIX}/bin/shiori serve"
>        daemon_user="_shiori"
>       -daemon_flags="serve -a localhost"
>       +daemon_flags="-a localhost"
> 
> thanks.

I thought about it at some point and got distracted by the wrapper/login
class thing.

Here's the port with those changes.

Thank you Sebastien.

-- 
Paco Esteban.
0x5818130B8A6DBC03

Attachment: shiori_port.tar.gz
Description: application/tar-gz

Reply via email to