mirror of https://github.com/zulip/zulip.git
puppet: Ensure supervisord starts on boot with systemd.
This is important to ensure that Zulip comes up properly after a reboot on Ubuntu Xenial.
This commit is contained in:
parent
4bfac78303
commit
750e43518f
|
@ -39,4 +39,11 @@ class zulip::supervisor {
|
||||||
source => "puppet:///modules/zulip/supervisor/supervisord.conf",
|
source => "puppet:///modules/zulip/supervisor/supervisord.conf",
|
||||||
notify => Service["supervisor"],
|
notify => Service["supervisor"],
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if $zulip::base::release_name == "xenial" {
|
||||||
|
exec {"enable supervisor":
|
||||||
|
unless => "systemctl is-enabled supervisor",
|
||||||
|
command => "systemctl enable supervisor",
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue