Browse Source

Alejandro Mery:


			
			
				rocklinux
			
			
		
Alejandro Mery 21 years ago
parent
commit
c9d8483fcd
3 changed files with 23 additions and 3 deletions
  1. +3
    -3
      package/mnemoc/socklog/socklog.cache
  2. +10
    -0
      package/mnemoc/socklog/socklog.conf
  3. +10
    -0
      package/mnemoc/socklog/stone_setup_socklog.sh

+ 3
- 3
package/mnemoc/socklog/socklog.cache

@ -20,14 +20,14 @@
[COPY]
[COPY] --- ROCK-COPYRIGHT-NOTE-END ---
[TIMESTAMP] 1080445266 Sat Mar 27 23:41:06 2004
[TIMESTAMP] 1083714302 Tue May 4 19:45:02 2004
[CONFIG-ID] 2.0.1-x86-pentium4-32-mnemosyne-expert
[ROCKVER] 2.0.1
[LOGS] 5-socklog.log 9-socklog.log
[BUILDTIME] 1455 (9)
[SIZE] 0.18 MB, 43 files
[BUILDTIME] 1428 (9)
[SIZE] 0.18 MB, 41 files
[DEP] 00-dirtree bash binutils bzip2 ccache coreutils gcc33 glibc23 grep
[DEP] gzip linux24-header make runit sed sysfiles tar

+ 10
- 0
package/mnemoc/socklog/socklog.conf

@ -23,3 +23,13 @@
. $base/package/mnemoc/runit/djb-config admin $sbindir
# install the postinstall script
pkg_socklog_postinstall() {
local STONED=$root/etc/stone.d
rock_substitute $confdir/stone_setup_socklog.sh \
> $STONED/setup_socklog.sh
pkg_djb_substitute $STONED/setup_socklog.sh
}
hook_add postmake 5 'pkg_socklog_postinstall'

+ 10
- 0
package/mnemoc/socklog/stone_setup_socklog.sh

@ -0,0 +1,10 @@
#!/bin/sh
D_commanddir/socklog-conf unix nobody log D_sysconfdir D_logdir
D_commanddir/socklog-conf klog nobody log D_sysconfdir D_logdir-klog
for y in unix klog; do
if [ ! -e "D_servicedir/socklog-$y" ]; then
ln -s D_servicedir/socklog-$y D_sysconfdir/$y
fi
done

Loading…
Cancel
Save