projects
/
monit-cn.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- minimalni fix za sed error
[monit-cn.git]
/
monit-cn
/
proftpd.conf
diff --git
a/monit-cn/proftpd.conf
b/monit-cn/proftpd.conf
index
d71f454
..
e67186e
100644
(file)
--- a/
monit-cn/proftpd.conf
+++ b/
monit-cn/proftpd.conf
@@
-1,5
+1,12
@@
-# proftpd monit-cn template
+## Begin - Generated by CARNet package monit-cn
+#
+# This is a monit-cn template file. REMOVE this whole comment block if
+# you DON'T WANT monit-cn to edit/remove/delete your configuration file.
+#
+## End - Generated by CARNet package monit-cn
check process proftpd with pidfile "/var/run/proftpd.pid"
start program = "/etc/init.d/proftpd start"
check process proftpd with pidfile "/var/run/proftpd.pid"
start program = "/etc/init.d/proftpd start"
- stop program = "/etc/init.d/proftpd stop"
+ stop program = "/etc/init.d/proftpd stop"
+ if failed host 127.0.0.1 port 21 protocol ftp
+ then restart