aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
Diffstat (limited to 'manifests')
-rw-r--r--manifests/tunnel.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/tunnel.pp b/manifests/tunnel.pp
index b4e7bdf..babce99 100644
--- a/manifests/tunnel.pp
+++ b/manifests/tunnel.pp
@@ -47,7 +47,7 @@ define autossh::tunnel (
exec { "autossh-tunnel-${name}_update_rcd":
command => "update-rc.d autossh-tunnel-${name} start 18 2 3 4 5 . stop 81 0 1 6 .",
- creates => "/etc/rc2.d/S18autossh-tunnel-${name}",
+ unless => "test -e /etc/rc2.d/S??autossh-tunnel-${name}",
path => "/bin:/sbin:/usr/sbin:/usr/bin",
require => [ Package["autossh"], File["/etc/init.d/autossh-tunnel-${name}"]],
}