<?xml version="1.0" encoding="utf-8" ?>
<packagegui>
	<title>Services: ASSP</title>
	<name>assp</name>
	<version>0.1.0</version>
	<!-- Menu is where this packages menu will appear -->
	<menu>
		<name>ASSP</name>
		<tooltiptext>Access ASSP</tooltiptext>
		<url>http://$myurl:55555</url>
		<section>Services</section>
	</menu>
	<service>
                <name>assp</name>
                <rcfile>assp.sh</rcfile>
                <executable>perl</executable>
        </service>
    	<additional_files_needed>
		<item>http://www.pfsense.com/packages/All/assp-1.0.tgz</item>
	</additional_files_needed>
	<custom_php_install_command>
	    $start = "/usr/bin/perl /usr/local/assp/assp.pl &amp;\necho $! > /var/run/assp.pid";
	    write_rcfile(array(
				"file" => 'assp.sh',
				"start" => $start,
				"stop" => '/usr/bin/killall perl'
			)
	    );
	    start_service("assp");
	</custom_php_install_command>
	<custom_php_deinstall_command>
	    rmdir_recursive("/usr/local/assp");
	</custom_php_deinstall_command>
</packagegui>