ajcrowe / puppet-supervisord

Puppet Module to install and configure applications under supervisord
MIT License
37 stars 104 forks source link

Puppet always execute start for program with numprocs != 1 #103

Closed ov7a closed 6 years ago

ov7a commented 8 years ago

Status check for single process works okay. But for homogeneous group systemctl status program returns "No such process" because correct syntax is systemctl status program:XX. So, the check always fails and puppet always reapplying start command.

ajcrowe commented 7 years ago

Can you elaborate on this a bit more, what sholuld the XX be?

ov7a commented 7 years ago

XX is a process name, usually contains program name and must contain process number. E.g. program_01 http://supervisord.org/configuration.html#program-x-section-settings

caiohasouza commented 7 years ago

+1