/usr/share/doc/dotlrn/README.daemontools is in dotlrn 2.5.0+dfsg-10.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | dotLRN and daemontools
----------------------
dotLRN daemon can be controlled using daemontools instead of the init.d script. To do that, follow the next steps:
1) Change the "RUN_DAEMON" value to "no" on /etc/aolserver4/conf.d/dotlrn.sh to disable the init.d script.
2) Restart the aolserver daemon (/etc/init.d/aolserver4 restart).
3) Link daemontools dotlrn script ( ln -s /usr/share/dotlrn/etc/daemontools /etc/service/dotlrn ).
Now you can control the dotlrn service using the svc command:
* To start the service: svc -u /etc/service/dotlrn.
* To stop the service: svc -d /etc/service/dotlrn.
* To restart the service: svc -t /etc/service/dotlrn.
For more info, please check the svc command man page.
|