Open joe-bowman opened 7 years ago
It transpires that the /var/lock/subsys
appears to be a Redhat-based distro thing - hence not existing under Debian distros.
The path used probably ought to be distro specific then, rather than creating the subsys
directory.
This issue is negated by #21 - #20 'fixed' the issue, but was closed because of further dependencies under Debian.
The supervisor init script attempts to touch the file
/var/lock/subsys/supervisord
without asserting that the parent folder exists, resulting in a failure to start the service.We should ensure this folder exists as part of the salt state.