monit: move pidfile from /var/run to /run
This commit is contained in:
parent
620ec5172b
commit
90fec6ce0a
@ -1,6 +1,6 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF372MtcaxUEeThhaq6EsBw0vBC4vXx/8iQnuBbvoV+ZbWAGw4059Zxh5GzGOfd0voy7bBbEouCwuJm69nEYJgAwg=
|
||||
SHA256 (Pkgfile) = 5e7cbe6c76ee0f36271d38834f888ee523082bc679f818ac19aa3aa4fbe16283
|
||||
RWSagIOpLGJF3w4sEzp1sNlubWBvuRpWKM/GlLhHbzddYFthnOxL1E8hWJ3oscH6XzUTIW6FPKA+z078N/PCkhZqTdTE5+oPswk=
|
||||
SHA256 (Pkgfile) = be3368298cca659e98543b8ba9befad84979af20bfb2c9ceb8b076a104ca45d1
|
||||
SHA256 (.footprint) = 1543986dc614b53b721621604afb2f1e34fa3f50e7f62ea8a5583e3adfb4575a
|
||||
SHA256 (monit-5.32.0.tar.gz) = 1077052d4c4e848ac47d14f9b37754d46419aecbe8c9a07e1f869c914faf3216
|
||||
SHA256 (monitd) = e8d5f6a67b0e75641bc0158bfdc942f1738f734d751c94ddfa82ec1f1c571f1e
|
||||
SHA256 (monitd) = 39588c1844efe0f05afb4e3a040778cec300498b86d50f30fdb3fc1030ce9001
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
name=monit
|
||||
version=5.32.0
|
||||
release=1
|
||||
release=2
|
||||
source=(http://mmonit.com/$name/dist/$name-$version.tar.gz \
|
||||
monitd)
|
||||
|
||||
@ -14,7 +14,8 @@ build() {
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc
|
||||
--sysconfdir=/etc \
|
||||
--runstatedir=/run
|
||||
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
|
@ -5,7 +5,7 @@
|
||||
|
||||
SSD=/sbin/start-stop-daemon
|
||||
PROG=/usr/bin/monit
|
||||
PID=/var/run/monit.pid
|
||||
PID=/run/monit.pid
|
||||
OPTS="-c /etc/monitrc -p $PID"
|
||||
|
||||
case $1 in
|
||||
|
Loading…
Reference in New Issue
Block a user