## Ruby on rails deployment for Apache and Nginx servers. ###################################### ## ## Execute passenger in the passenger domain. ## ## ## ## Domain allowed to transition. ## ## # interface(`passenger_domtrans',` gen_require(` type passenger_t, passenger_exec_t; ') corecmd_search_bin($1) domtrans_pattern($1, passenger_exec_t, passenger_t) ') ###################################### ## ## Execute passenger in the caller domain. ## ## ## ## Domain allowed access. ## ## # interface(`passenger_exec',` gen_require(` type passenger_exec_t; ') corecmd_search_bin($1) can_exec($1, passenger_exec_t) ') ######################################## ## ## Read passenger lib files. ## ## ## ## Domain allowed access. ## ## # interface(`passenger_read_lib_files',` gen_require(` type passenger_var_lib_t; ') files_search_var_lib($1) read_files_pattern($1, passenger_var_lib_t, passenger_var_lib_t) ')