Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make log monitor work with new setup - and use upstart to manage it
- Loading branch information
Showing
3 changed files
with
65 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,12 @@ | |||
description "VegGuide log monitor" | |||
|
|||
start on (local-filesystems and net-device-up IFACE!=lo) | |||
stop on runlevel [016] | |||
|
|||
respawn | |||
limit as 10485760 10485760 | |||
|
|||
setuid www-data | |||
setgid adm | |||
|
|||
/opt/perl5.14.2-no-threads/bin/perl /opt/perl5.14.2-no-threads/bin/vg-log-monitor |