Permalink
Browse files

fixed some errors in the readme and added the example service

  • Loading branch information...
jessegreathouse committed Jul 20, 2011
1 parent a8b2b8b commit 073ab98ef15ba0c90982c72aa10d8336b32efd6d
Showing with 9 additions and 5 deletions.
  1. +5 −5 README.md
  2. +4 −0 Resources/config/daemon.xml
View
@@ -41,7 +41,7 @@ Add the following to your autoload.php file:
$loader->registerNamespaces(array(
//...
- 'CodeMeme' => array(__DIR__.'/../vendor/bundles'),
+ 'CodeMeme' => __DIR__.'/../vendor/bundles',
));
### appKernel.php ###
@@ -94,8 +94,8 @@ The Following links are examples of how to use a system daemon in an example pro
- [Control Service DiC][7]
[5]: https://github.com/CodeMeme/CodeMemeDaemonBundle/blob/master/Service/ExampleControl.php
- [6]: https://github.com/CodeMeme/CodeMemeDaemonBundle/blob/master/Resources/config/services.xml
+ [6]: https://github.com/CodeMeme/CodeMemeDaemonBundle/blob/master/Resources/config/daemon.xml
[7]: https://github.com/CodeMeme/CodeMemeDaemonBundle/blob/master/DependencyInjection/ExampleExtension.php
- [8]: https://github.com/CodeMeme/CodeMemeDaemonBundle/blob/master/Command/StartCommand.php
- [9]: https://github.com/CodeMeme/CodeMemeDaemonBundle/blob/master/Command/StopCommand.php
- [10]: https://github.com/CodeMeme/CodeMemeDaemonBundle/blob/master/Command/RestartCommand.php
+ [8]: https://github.com/CodeMeme/CodeMemeDaemonBundle/blob/master/Command/ExampleStartCommand.php
+ [9]: https://github.com/CodeMeme/CodeMemeDaemonBundle/blob/master/Command/ExampleStopCommand.php
+ [10]: https://github.com/CodeMeme/CodeMemeDaemonBundle/blob/master/Command/ExampleRestartCommand.php
@@ -7,9 +7,13 @@
<parameters>
<parameter key="codememe.daemon.filesystem.class">Symfony\Component\HttpKernel\Util\Filesystem</parameter>
<parameter key="codememe.daemon.class">CodeMeme\Bundle\CodeMemeDaemonBundle\Daemon</parameter>
+ <parameter key="example.control.class">CodeMeme\Bundle\CodeMemeDaemonBundle\Service\ExampleControl.php</parameter>
</parameters>
<services>
+ <service id="example.control" class="%example.control.class%" >
+ <argument type="service" id="logger" />
+ </service>
<service id="codememe.daemon.filesystem" class="%codememe.daemon.filesystem.class%" />
</services>
</container>

0 comments on commit 073ab98

Please sign in to comment.