[Citadel Development] Re: Removed background and restart from citserver.

2023-09-09 Thread Nurb432
While i am super rusty, if we need a non-prod FBSD install to beat on, i can always prop-up a VM. I installed it on that 'box of crap' not long ago out of desperation, and enough memories did come back so i was able to get it to install ok, and some add-ons.  Tho i wouldn't be able to use it for

[Citadel Development] Re: Removed background and restart from citserver.

2023-09-09 Thread LadySerenaKitty
I am not.  What is the secret incantation that makes it build on FreeBSD? Fri Sep 08 2023 22:41:47 EDT from IGnatius T Foobar Subject: Re: Removed background and restart from citserver. Kitty -- I hope you're having good results on FreeBSD -- please let me know if it works for you.  

[Citadel Development] Re: Removed background and restart from citserver.

2023-09-08 Thread IGnatius T Foobar
Geez.  I can't believe how much more stable Citadel Server is with this new improved backend.  it was worth spending most of the summer working on this. Kitty -- I hope you're having good results on FreeBSD -- please let me know if it works for you. I've got a test running right now with the

[Citadel Development] Re: Removed background and restart from citserver.

2023-09-02 Thread IGnatius T Foobar
>The rc system fully detaches it from the entire call stack, in the >end it just looks like init ran the daemon.  The rc system is really >just a series of shell scripts, nothing too fancy.  That's why PID >files are so important, the rc system uses those to figure out which >PID to

[Citadel Development] Re: Removed background and restart from citserver.

2023-09-02 Thread LadySerenaKitty
The rc system fully detaches it from the entire call stack, in the end it just looks like init ran the daemon.  The rc system is really just a series of shell scripts, nothing too fancy.  That's why PID files are so important, the rc system uses those to figure out which PID to send signals to.

[Citadel Development] Re: Removed background and restart from citserver.

2023-09-02 Thread LadySerenaKitty
FreeBSD's in-base (default) compiler is clang.  Moving all of base from gcc to clang was a monumental effort. Fri Sep 01 2023 23:30:53 EDT from IGnatius T Foobar Subject: Re: Removed background and restart from citserver. All righty then. The current code in git master is running on FreeBSD.

[Citadel Development] Re: Removed background and restart from citserver.

2023-09-01 Thread IGnatius T Foobar
All righty then. The current code in git master is running on FreeBSD. Here's the deal: 1. You need ldap client library (`pkg install openldap26-client`) even if you aren't using LDAP 2. `gmake` and `gcc` are required. It won't build with whatever FreeBSD is using natively. 3. The

[Citadel Development] Re: Removed background and restart from citserver.

2023-09-01 Thread IGnatius T Foobar
UUU--- Drive 0 on my desktop is fux0red. This was my main workstation and also where I had my FreeBSD vm installed. Time to rebuild.

[Citadel Development] Re: Removed background and restart from citserver.

2023-09-01 Thread IGnatius T Foobar
nd just like that, my main machine at home bit the dust. *grumble*

[Citadel Development] Re: Removed background and restart from citserver.

2023-09-01 Thread IGnatius T Foobar
>So FreeBSD's rc system sends a SIGTERM when you do "doas service >citserver stop".  This should run the same code that cleanly shuts >down citserver when you do a ".ATN y" from the text client.  All the Perfect. That's exactly the desired behavior, and it will be "even more that

[Citadel Development] Re: Removed background and restart from citserver.

2023-09-01 Thread LadySerenaKitty
So FreeBSD's rc system sends a SIGTERM when you do "doas service citserver stop".  This should run the same code that cleanly shuts down citserver when you do a ".ATN y" from the text client.  All the BSDs opurrate this way, and since it is a standard way of doing things, SMF

[Citadel Development] Re: Removed background and restart from citserver.

2023-08-31 Thread IGnatius T Foobar
>citserver should exit cleanly when it receives a SIGINT, SIGQUIT, or >SIGKILL. > >This may be why using FreeBSD's rc system caused badness on my >system. And it so happens that FreeBSD is the reason I pulled that section of code out. This is an opportunity to remove all

[Citadel Development] Re: Removed background and restart from citserver.

2023-08-31 Thread LadySerenaKitty
citserver should exit cleanly when it receives a SIGINT, SIGQUIT, or SIGKILL. This may be why using FreeBSD's rc system caused badness on my system. Thu Aug 31 2023 11:10:32 EDT from rss <> Subject: Removed background and restart from citserver. These functions should be managed by an external