Bug#798430: apache2: please add systemd service file

2016-09-29 Thread Raphael Hertzog
Hi Stefan, On Tue, 27 Sep 2016, Stefan Fritsch wrote: > A bit, but not as much as I would have liked. And I didn't have time to do > any > testing. But what I have seen looked good. [..] > If you think that you will have some time to also deal with any severe > regressions that may pop up, I

Bug#798430: apache2: please add systemd service file

2016-09-27 Thread Raphael Hertzog
Hi, On Wed, 21 Sep 2016, Stefan Fritsch wrote: > Thanks for the patch. I will take a look next week-end. Did you have the time to review my changes? If no, when do you expect to be able to look at them? I would gladly offer an NMU if you don't have the time (as I'm rather confident in the work

Bug#798430: apache2: please add systemd service file

2016-09-21 Thread Stefan Fritsch
Thanks for the patch. I will take a look next week-end. Cheers, Stefan

Bug#798430: apache2: please add systemd service file

2016-09-21 Thread Raphael Hertzog
Hi, On Wed, 21 Sep 2016, Mathieu Parent (Debian) wrote: > can you improve it a bit to use Type=notify. I saw they backported mod_systemd to Apache 2.4 but I don't know if we should do the same or just wait until we have Apache 2.5. I opted to not do it in this patchset but the Apache

Bug#798430: apache2: please add systemd service file

2016-09-21 Thread Mathieu Parent (Debian)
hello Raphaƫl, 2016-09-21 11:28 GMT+02:00 Raphael Hertzog : > Control: tags -1 + patch > > Hi Stehan, > > On Mon, 19 Sep 2016, Raphael Hertzog wrote: >> I'm going to work on this as we really want apache2 in stretch to have a >> unit file so that we can benefit from all the

Bug#798430: apache2: please add systemd service file

2016-09-21 Thread Raphael Hertzog
Control: tags -1 + patch Hi Stehan, On Mon, 19 Sep 2016, Raphael Hertzog wrote: > I'm going to work on this as we really want apache2 in stretch to have a > unit file so that we can benefit from all the systemd features for > Apache too. Please find attached the patches to apply on your git

Bug#798430: apache2: please add systemd service file

2016-09-19 Thread Raphael Hertzog
Hi Stefan, On Sat, 26 Mar 2016, Stefan Fritsch wrote: > I will take a stab at separating htcacheclean in the init script and > adding a2enmod support. This is a necessary first step for adding unit > files. I saw that there is now an "apache-htcacheclean" init script. We should thus be able to

Bug#798430: apache2: please add systemd service file

2016-09-19 Thread Raphael Hertzog
Hi, On Sat, 19 Mar 2016, Timo Aaltonen wrote: > I've tried to support extra instances too but that's untested. Enabling > an instance would just mean to drop a symlink like > /etc/systemd/system/apache2.target.wants/apache2@-foo.service -> > /lib/systemd/system/apache2@.service I don't see any

Bug#798430: apache2: please add systemd service file

2016-03-27 Thread Timo Aaltonen
26.03.2016, 10:06, Stefan Fritsch kirjoitti: > Because of the things outlined above, I think the systemd unit should > still use the envvars file. Probably this is best achieved by calling > apachectl instead of apache2 directly. Sure thing, looks like it works just fine with apache2ctl and

Bug#798430: apache2: please add systemd service file

2016-03-26 Thread Stefan Fritsch
Hi Timo, thanks for your help. There are a few more things to consider here. We will still have to support using sysv-init and init scripts. Also, in practice, support for apache2 in Debian/Ubuntu is mostly done on upstream mailing lists. And people expect that apachectl will work correctly.

Bug#798430: apache2: please add systemd service file

2016-03-19 Thread Timo Aaltonen
Hi, attached is a diff that adds systemd support, derived from Fedora and modified to suit Debian better. On Mon, 29 Feb 2016 21:49:39 +0100 Stefan Fritsch wrote: > This is not that easy because of all the logic that we have in the > init script. > > One part is about

Bug#798430: apache2: please add systemd service file

2016-02-29 Thread Stefan Fritsch
This is not that easy because of all the logic that we have in the init script. One part is about starting/stopping htcacheclean if mod_cache_disk is enabled. Maybe instead of doing this check at apache2 startup, this could be split into a separate service and a2enmod could active the

Bug#798430: apache2: please add systemd service file

2015-09-09 Thread Arturo Borrero Gonzalez
Package: apache2 Severity: wishlist Dear maintainers, thanks for your work on this important pacakge. It's really appreciated. Current apache2 package lacks of systemd service file (though is well integrated with systemd due to glue scripts) I would like to have a native systemd service file.