Browse files

vg-log-monitor upstart config is working

  • Loading branch information...
1 parent 47c4dcc commit 597e3689bf32412ca1d443e8989e283c85af4462 @autarch autarch committed Feb 22, 2012
Showing with 4 additions and 7 deletions.
  1. +4 −7 system/etc/init/vg-log-monitor.conf
View
11 system/etc/init/vg-log-monitor.conf
@@ -1,12 +1,9 @@
description "VegGuide log monitor"
-start on (local-filesystems and net-device-up IFACE!=lo)
-stop on runlevel [016]
+start on starting vegguide-starman
+stop on stopping vegguide-starman
respawn
-limit as 10485760 10485760
+limit as 104857600 104857600
-setuid www-data
-setgid adm
-
-/opt/perl5.14.2-no-threads/bin/perl /opt/perl5.14.2-no-threads/bin/vg-log-monitor
+exec sudo -u www-data /opt/perl5.14.2-no-threads/bin/perl /opt/perl5.14.2-no-threads/bin/vg-log-monitor

0 comments on commit 597e368

Please sign in to comment.