projects
/
monit-cn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
izmjene u postinstu
[monit-cn.git]
/
debian
/
postinst
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