diff options
Diffstat (limited to 'modules/ii/manifests')
-rw-r--r-- | modules/ii/manifests/init.pp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/ii/manifests/init.pp b/modules/ii/manifests/init.pp index 23793821..70083a64 100644 --- a/modules/ii/manifests/init.pp +++ b/modules/ii/manifests/init.pp @@ -24,14 +24,14 @@ class ii { service { 'ii': provider => base, start => "/usr/local/bin/ii_$nick", - notify => Exec["join channel $nick"], require => Local_script["ii_$nick"], } exec { "join channel $nick": command => "echo '/j $channel' > /var/lib/ii/$nick/$server/in", user => nobody, - refreshonly => true, + unless => "test -d /var/lib/ii/$nick/$server/$channel", + require => Service['ii'], } } } |