apache-mpm-event: fixed Conflicts in systemd unit.

This commit is contained in:
Juan RP 2012-01-28 10:10:49 +01:00
parent e2a020a76e
commit c32ef215aa
2 changed files with 3 additions and 3 deletions

View file

@ -1,7 +1,7 @@
[Unit]
Description=The Apache HTTP Server (Event MPM)
After=syslog.target network.target remote-fs.target
Conflicts=apache.target apache-mpm-worker.target
Conflicts=apache.service apache-mpm-worker.service
[Service]
Type=forking

View file

@ -10,7 +10,7 @@ unset post_install pre_configure run_depends
# Override some vars.
pkgname=apache-mpm-event
configure_args="${configure_args} --enable-modules= --prefix=/usr --with-mpm=event"
revision=2
revision=3
short_desc="Apache HTTP Server - event driven model"
long_desc="
Each Apache Multi-Processing Module provides a different flavor of web
@ -42,5 +42,5 @@ post_install() {
cp -f ${DESTDIR}/usr/sbin/httpd ${wrksrc}
rm -rf ${DESTDIR}/*
vinstall httpd 755 usr/sbin httpd.event
vinstall ${FILESDIR}/apache-mpm-event.service 644 lib/systemd/system
vinstall ${FILESDIR}/${pkgname}.service 644 lib/systemd/system
}