forked from ports/contrib
monit: moved config to /etc instead of /usr/etc
This commit is contained in:
parent
e6fcd2f75d
commit
c5c6994a9d
@ -1,11 +1,10 @@
|
||||
drwxr-xr-x root/root etc/
|
||||
-rwx------ root/root etc/monitrc
|
||||
drwxr-xr-x root/root etc/rc.d/
|
||||
-rwxr-xr-x root/root etc/rc.d/monitd
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
-r-xr-xr-x root/root usr/bin/monit
|
||||
drwxr-xr-x root/root usr/etc/
|
||||
-rwx------ root/root usr/etc/monitrc
|
||||
drwxr-xr-x root/root usr/man/
|
||||
drwxr-xr-x root/root usr/man/man1/
|
||||
-r--r--r-- root/root usr/man/man1/monit.1.gz
|
||||
|
@ -1,2 +1,2 @@
|
||||
61e13c0c6f5ad396e12a7692135d8737 monit-5.0.tar.gz
|
||||
df9b36446f5ee63f67c1f9bdfebbbbc7 monitd
|
||||
912160c1b3f72bc31cb9f91d37ae364d monitd
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
name=monit
|
||||
version=5.0
|
||||
release=1
|
||||
release=2
|
||||
source=(http://www.tildeslash.com/$name/dist/$name-$version.tar.gz \
|
||||
monitd)
|
||||
|
||||
@ -14,9 +14,9 @@ build() {
|
||||
cd $name-$version
|
||||
./configure --prefix=/usr \
|
||||
--mandir=/usr/man \
|
||||
--sysconfdir=/usr/etc
|
||||
--sysconfdir=/etc
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
install -D -m 0755 $SRC/monitd $PKG/etc/rc.d/monitd
|
||||
install -D -m 0700 $SRC/$name-$version/monitrc $PKG/usr/etc/monitrc
|
||||
install -D -m 0700 $SRC/$name-$version/monitrc $PKG/etc/monitrc
|
||||
}
|
||||
|
@ -3,7 +3,7 @@
|
||||
# /etc/rc.d/monitd: start/stop monit daemon
|
||||
#
|
||||
|
||||
CONFIG=/usr/etc/monitrc
|
||||
CONFIG=/etc/monitrc
|
||||
|
||||
case $1 in
|
||||
start)
|
||||
|
Loading…
x
Reference in New Issue
Block a user