Browse Source

Alejandro Mery:

added postgresql checksum
added runita init for postgresql and fix dhcpd's sysconfdir


git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@2299 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc
rocklinux
Alejandro Mery 21 years ago
parent
commit
3fb163012c
6 changed files with 12 additions and 3 deletions
  1. +1
    -1
      package/michiel/postgresql/postgresql.desc
  2. +1
    -1
      package/mnemoc/runit/packages/dhcp-dhcpd_run.txt
  3. +1
    -0
      package/mnemoc/runit/packages/postgresql-env_PGDATA.txt
  4. +5
    -0
      package/mnemoc/runit/packages/postgresql-log_run.txt
  5. +3
    -0
      package/mnemoc/runit/packages/postgresql-run.txt
  6. +1
    -1
      package/mnemoc/runit/parse-config

+ 1
- 1
package/michiel/postgresql/postgresql.desc

@ -44,5 +44,5 @@
[V] 7.4.1
[P] X -----5---9 375.000
[D] 0 postgresql-7.4.1.tar.bz2 ftp://ftp.postgresql.org/pub/source/v7.4.1/
[D] 2866104335 postgresql-7.4.1.tar.bz2 ftp://ftp.postgresql.org/pub/source/v7.4.1/

+ 1
- 1
package/mnemoc/runit/packages/dhcp-dhcpd_run.txt

@ -1,4 +1,4 @@
#!/bin/sh
exec 2>&1
exec D_sbindir/dhcpd -f -cf D_sysconfdir/dhcpd.conf
exec D_sbindir/dhcpd -f -cf D_sysconfdir/dhcpd/dhcpd.conf

+ 1
- 0
package/mnemoc/runit/packages/postgresql-env_PGDATA.txt

@ -0,0 +1 @@
D_datadir/data

+ 5
- 0
package/mnemoc/runit/packages/postgresql-log_run.txt

@ -0,0 +1,5 @@
#!/bin/sh
exec 2>&1
mkdir -p main
exec svlogd -t main

+ 3
- 0
package/mnemoc/runit/packages/postgresql-run.txt

@ -0,0 +1,3 @@
#!/bin/sh
exec 2>&1
exec envdir ./env setuidgid postgres D_bindir/postmaster

+ 1
- 1
package/mnemoc/runit/parse-config

@ -54,7 +54,7 @@ if pkgcheck runit X; then
else
y=\$sysconfdir/$y
fi
echo_status "runit: Setting to install $x as $y"
echo_status "runit: Setting conf to install $y"
hook_add postmake 8 "mkdir -p ${y%/*}; \
rock_substitute $runitconfdir/packages/$x > $y; \
chmod 744 $y;"

Loading…
Cancel
Save