Re: From sysv to systemd

2020-04-16 Thread Jan Høydahl
Note that running as foreground has implications on logging that may be surprising compared to current service. You may want to start a JIRA and a PR/patch at this point, this improvement is a good one! Jan Høydahl > 16. apr. 2020 kl. 16:04 skrev Marius Ghita : > >  > > I'm in favor of

Re: From sysv to systemd

2020-04-16 Thread Marius Ghita
> I'm in favor of adding "After=network.target" to the [Unit] section. You're right, the network.target is a correct dependency to pin in the Unit section. > For the LimitN* you set as default, I'd say that they should go into > overrides, not into the default. I just prefer as little fine

Re: From sysv to systemd

2020-04-16 Thread David '-1' Schmid
My two cents, since I've been using systemd for a while with solr. Please keep in mind: these are my opinions, not something I'd be angry about :D On 4/15/20 10:30 PM, Marius Ghita wrote: > [Unit] > Description=Apache SOLR > > [Service] > Type=forking > User=solr >

From sysv to systemd

2020-04-15 Thread Marius Ghita
Greetings everyone. I would be interested to help transition Solr from SysV to systemd. Before coming here I've done a rudimentary search on the bug tracker to see systemd related issues. https://issues.apache.org/jira/browse/SOLR-10905 It is a 2017 issue supporting the same change