Permalink
Browse files

add support for uid/gid

  • Loading branch information...
1 parent e1a3510 commit 7bc05ce5a23ccef0cb095b51b2f698047eee5434 @fetep committed Apr 4, 2012
Showing with 4 additions and 1 deletion.
  1. +2 −1 manifests/watcher.pp
  2. +2 −0 templates/watcher.ini
View
@@ -1,4 +1,5 @@
-define circus::watcher($cmd, $args, $warmup_delay = 0, $numprocesses = 1) {
+define circus::watcher($cmd, $args, $warmup_delay = 0, $numprocesses = 1,
+ $uid = "root", $gid = "root") {
include circus::manager
file {
View
@@ -3,3 +3,5 @@ cmd = <%= cmd %>
args = <%= args %>
warmup_delay = <%= warmup_delay %>
numprocesses = <%= numprocesses %>
+uid = <%= uid %>
+gid = <%= gid %>

0 comments on commit 7bc05ce

Please sign in to comment.