rendered paste body<?xml version='1.0'?><!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'><service_bundle type='manifest' name='example'> <service name='application/example' type='service' version='42'> <instance name='prod' enabled='false'> <exec_method name='start' type='method' exec='/bin/env EAI_INSTALL=%{conf/eai_install} LD_LIBRARY_PATH=%{conf/eai_install}/lib %{conf/eai_install}/bin/exes/%{conf/app} -p %{conf/install_log_base}/log/%{conf/app}.pid -c %{conf/eai_install}/etc/confConfig.xml -o %{conf/install_log_base}/log/%{conf/app}.stderr' timeout_seconds='15'> <!-- <method_context working_directory='%{conf/install_log_base}'> --> <method_context> <method_credential user='conf'/> </method_context> </exec_method> <exec_method name='stop' type='method' exec=':kill' timeout_seconds='10'> <method_context working_directory='/var/tcconf'> <method_credential user='conf'/> <method_environment> <envvar name='EAI_INSTALL' value='%{conf/eai_install}'/> </method_environment> </method_context> </exec_method> <!-- In the startup exec_method command, some "variables" are used. Define those variables. --> <property_group name='conf' type='application'> <!-- Name of the application --> <propval name='app' type='astring' value='example'/> <!-- Installation directory of the application --> <propval name='eai_install' type='astring' value='/opt/example'/> <!-- Base directory for log files --> <propval name='install_log_base' type='astring' value='/var/example'/> </property_group> </instance> <template> <common_name> <loctext xml:lang='C'>Example service</loctext> </common_name> </template> </service></service_bundle><!-- EOF -->