atop: create /var/log/atop with make_dirs=
This commit is contained in:
parent
80eb7f983f
commit
e035aa691e
|
@ -1,3 +1,2 @@
|
|||
#!/bin/sh
|
||||
mkdir -p /var/log/atop || exit 1
|
||||
exec atop -a -w /var/log/atop/atop_$(date +%Y%m%d) 600
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'atop'
|
||||
pkgname=atop
|
||||
version=2.4.0
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-makefile
|
||||
makedepends="ncurses-devel zlib-devel"
|
||||
short_desc="System and process level monitor"
|
||||
|
@ -11,6 +11,8 @@ homepage="https://www.atoptool.nl/"
|
|||
distfiles="https://www.atoptool.nl/download/atop-${version}.tar.gz"
|
||||
checksum=be1c010a77086b7d98376fce96514afcd73c3f20a8d1fe01520899ff69a73d69
|
||||
|
||||
make_dirs="/var/log/atop 755 root root"
|
||||
|
||||
pre_install() {
|
||||
sed -i '/chown/d' Makefile
|
||||
sed -i 's/04711/0755/' Makefile
|
||||
|
|
Loading…
Reference in New Issue