Reload systemd defs if the stunnel4 init script changes
[mirror/dsa-puppet.git] / modules / stunnel4 / manifests / init.pp
index 6d5c4e4..fc6c9af 100644 (file)
@@ -11,6 +11,7 @@ class stunnel4 {
        file { '/etc/init.d/stunnel4':
                source => 'puppet:///modules/stunnel4/etc-init.d-stunnel4',
                mode   => '0555',
+               notify => Exec['systemctl daemon-reload'],
        }
        file { '/etc/stunnel/stunnel.conf':
                ensure  => absent,