123456789101112131415161718192021222324252627282930 |
- ## <summary>Process supervisor written in python.</summary>
- ########################################
- ## <summary>
- ## Create a domain which can be
- ## started by supervisord.
- ## </summary>
- ## <param name="domain">
- ## <summary>
- ## Type to be used as a domain.
- ## </summary>
- ## </param>
- ## <param name="entrypoint">
- ## <summary>
- ## Type of the program to be used as an entry point to this domain.
- ## </summary>
- ## </param>
- #
- interface(`supervisor_service_domain',`
- gen_require(`
- type supervisor_t;
- ')
- domain_auto_transition_pattern(supervisor_t, $2, $1)
- allow $1 supervisor_t:fd use;
- allow $1 supervisor_t:fifo_file { read write ioctl getattr };
- allow $1 supervisor_t:process sigchld;
- allow supervisor_t $1:process { signal siginh rlimitinh noatsecure };
- ')
|