cherokee: use make_dirs.
This commit is contained in:
parent
bb1110b56c
commit
1c9cf30a50
2 changed files with 6 additions and 8 deletions
|
@ -1,3 +0,0 @@
|
||||||
d /etc/cherokee/ssl 0755 httpd httpd -
|
|
||||||
d /var/log/cherokee 0755 httpd httpd -
|
|
||||||
d /var/lib/cherokee/graphs/images 0755 httpd httpd -
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'cherokee'
|
# Template file for 'cherokee'
|
||||||
pkgname=cherokee
|
pkgname=cherokee
|
||||||
version=1.2.101
|
version=1.2.101
|
||||||
revision=4
|
revision=5
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--prefix=/usr --sysconfdir=/etc --localstatedir=/var
|
configure_args="--prefix=/usr --sysconfdir=/etc --localstatedir=/var
|
||||||
--disable-static --with-wwwroot=/srv/httpd --with-wwwuser=httpd
|
--disable-static --with-wwwroot=/srv/httpd --with-wwwuser=httpd
|
||||||
|
@ -32,6 +32,10 @@ system_accounts="httpd"
|
||||||
httpd_descr="Cherokee HTTP server"
|
httpd_descr="Cherokee HTTP server"
|
||||||
httpd_homedir="/srv/httpd"
|
httpd_homedir="/srv/httpd"
|
||||||
|
|
||||||
|
make_dirs="
|
||||||
|
/etc/cherokee/ssl 0755 httpd httpd
|
||||||
|
/var/log/cherokee 0755 httpd httpd
|
||||||
|
/var/lib/cherokee/graphs/images 0755 httpd httpd"
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
# use /var/log/cherokee instead of /var/log
|
# use /var/log/cherokee instead of /var/log
|
||||||
|
@ -44,8 +48,5 @@ post_install() {
|
||||||
vinstall ${FILESDIR}/${pkgname}.logrotate 644 etc/logrotate.d ${pkgname}
|
vinstall ${FILESDIR}/${pkgname}.logrotate 644 etc/logrotate.d ${pkgname}
|
||||||
|
|
||||||
# Install systemd service
|
# Install systemd service
|
||||||
vinstall ${FILESDIR}/${pkgname}.service 644 \
|
vinstall ${FILESDIR}/${pkgname}.service 644 usr/lib/systemd/system
|
||||||
usr/lib/systemd/system
|
|
||||||
vinstall ${FILESDIR}/${pkgname}.tmpfiles.d 644 \
|
|
||||||
usr/lib/tmpfiles.d ${pkgname}.conf
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue