summaryrefslogtreecommitdiff
path: root/manifests/service.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/service.pp')
-rw-r--r--manifests/service.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/service.pp b/manifests/service.pp
index 0fed6d9..c5311fa 100644
--- a/manifests/service.pp
+++ b/manifests/service.pp
@@ -14,7 +14,8 @@ define runit::service (
# logging stuff
$logger = true, # shall we setup an logging service; if you use 'command' before,
# all output from command will be logged automatically to $logdir/current
- $logdir = "${rundir}/log"
+ $logdir = "${rundir}/log",
+ $timeout = 7 # service restart/stop timeouts (only relevant for 'enabled' services)
) {
# FixMe: Validate parameters