projects
/
monit-cn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b62196e
)
izmjene u postinstu
author
Ivan Rako
<irako@nekkar.carnet.hr>
Wed, 24 Feb 2016 14:07:41 +0000
(15:07 +0100)
committer
Ivan Rako
<irako@nekkar.carnet.hr>
Wed, 24 Feb 2016 14:07:41 +0000
(15:07 +0100)
debian/postinst
patch
|
blob
|
history
diff --git
a/debian/postinst
b/debian/postinst
index
db5d0e6
..
0d32437
100755
(executable)
--- a/
debian/postinst
+++ b/
debian/postinst
@@
-70,9
+70,9
@@
fi
update-monit.d || true
# disable monit startup
update-monit.d || true
# disable monit startup
-cp_check_and_sed '^startup[[:space:]]*=[[:space:]]*1' \
+cp_check_and_sed '^startup[[:space:]]*=[[:space:]]*0' \
's/^startup[[:space:]]*=.*/startup=1/g' /etc/default/monit || true
's/^startup[[:space:]]*=.*/startup=1/g' /etc/default/monit || true
-cp_check_and_sed '^START[[:space:]]*=[[:space:]]*yes' \
+cp_check_and_sed '^START[[:space:]]*=[[:space:]]*no' \
's/^START[[:space:]]*=.*/START=yes/g' /etc/default/monit || true
# remove us from systemv monit script
's/^START[[:space:]]*=.*/START=yes/g' /etc/default/monit || true
# remove us from systemv monit script