suricata: create dirs during startup
This commit is contained in:
parent
d319d5769f
commit
e062ade843
2 changed files with 3 additions and 3 deletions
|
@ -1,4 +1,6 @@
|
|||
#!/bin/sh
|
||||
exec 2>&1
|
||||
[ -r conf ] && . ./conf
|
||||
mkdir -p /var/log/suricata /var/{lib,log}/suricata
|
||||
chown -R suricata:suricata /var/{lib,log}/suricata
|
||||
exec suricata -i ${INTERFACE:=eth0} ${OPTS}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'suricata'
|
||||
pkgname=suricata
|
||||
version=3.2.1
|
||||
revision=3
|
||||
revision=4
|
||||
build_style=gnu-configure
|
||||
configure_args="--disable-gccmarch-native"
|
||||
hostmakedepends="pkg-config"
|
||||
|
@ -16,8 +16,6 @@ checksum="0e0b0cf49016804bb2fb1fc4327341617e76a67902f4e03e0ef6d16c1d7d3994
|
|||
82f7bbfd45f101a2247f62021bd304db1a6c246ed29b1771ed5cd53ac4b4af31"
|
||||
|
||||
system_accounts="$pkgname"
|
||||
make_dirs="/var/log/$pkgname 0755 $pkgname $pkgname
|
||||
/var/lib/$pkgname 0755 $pkgname $pkgname"
|
||||
confs_files="/etc/$pkgname/* /etc/$pkgname/rules/*"
|
||||
|
||||
post_build() {
|
||||
|
|
Loading…
Reference in a new issue