These classes implement the translation from user-intended behaviours as specified in the state of the Job class to the system-specific configuration files. At present, there is only an upstart configuration, but similar providers could be defined for systemd, supervisor, launchd, or other systems.
Provides only a common constructor for the moment, but as further providers are implemented, may provide a place to store configuration common to them.
Construct a new Provider.
Parameters: |
|
---|
The Upstart implementation places the user-specified files in /etc/ros/DISTRO/NAME.d, and creates an upstart job configuration in /etc/init/NAME.d. Two additional helper scripts are created for starting and stopping the job, places in /usr/sbin.
Construct a new Provider.
Parameters: |
|
---|