postgresql: use vsv.

This commit is contained in:
Juan RP 2014-10-13 11:18:32 +02:00
parent 559b5eb61d
commit af72b0f8e1

View file

@ -46,8 +46,8 @@ post_install() {
cp -r doc/src/sgml/man? ${DESTDIR}/usr/share/man
vmkdir usr/share/doc/postgresql
cp -r doc/src/sgml/html ${DESTDIR}/usr/share/doc/postgresql
vmkdir etc/sv
cp -r ${FILESDIR}/postgresql ${DESTDIR}/etc/sv
vsv postgresql
vinstall ${FILESDIR}/${pkgname}.confd 644 etc/default ${pkgname}
if [ "$build_option_systemd" ]; then
vinstall ${FILESDIR}/${pkgname}.service 644 usr/lib/systemd/system