apache-mpm-event: fixed Conflicts in systemd unit.
This commit is contained in:
parent
e2a020a76e
commit
c32ef215aa
2 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=The Apache HTTP Server (Event MPM)
|
Description=The Apache HTTP Server (Event MPM)
|
||||||
After=syslog.target network.target remote-fs.target
|
After=syslog.target network.target remote-fs.target
|
||||||
Conflicts=apache.target apache-mpm-worker.target
|
Conflicts=apache.service apache-mpm-worker.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=forking
|
Type=forking
|
||||||
|
|
|
@ -10,7 +10,7 @@ unset post_install pre_configure run_depends
|
||||||
# Override some vars.
|
# Override some vars.
|
||||||
pkgname=apache-mpm-event
|
pkgname=apache-mpm-event
|
||||||
configure_args="${configure_args} --enable-modules= --prefix=/usr --with-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"
|
short_desc="Apache HTTP Server - event driven model"
|
||||||
long_desc="
|
long_desc="
|
||||||
Each Apache Multi-Processing Module provides a different flavor of web
|
Each Apache Multi-Processing Module provides a different flavor of web
|
||||||
|
@ -42,5 +42,5 @@ post_install() {
|
||||||
cp -f ${DESTDIR}/usr/sbin/httpd ${wrksrc}
|
cp -f ${DESTDIR}/usr/sbin/httpd ${wrksrc}
|
||||||
rm -rf ${DESTDIR}/*
|
rm -rf ${DESTDIR}/*
|
||||||
vinstall httpd 755 usr/sbin httpd.event
|
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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue