[Lazarus] Simple daemon on linux does nothing

Krzysztof dibo20 at wp.pl
Mon Feb 25 15:40:27 CET 2013


I attached simple project. Run script included (based on script from
lazarus wiki). Change paths in this script and also change output file path
in TDaemon1 class.
I copied "run_my_service.sh" script into /etc/init.d/ and then:
sudo service run_my_service.sh start

Seems that starting and stopping is working fine but test.txt doesn't appear
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130225/9b77c430/attachment-0003.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_service.zip
Type: application/zip
Size: 4928 bytes
Desc: not available
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20130225/9b77c430/attachment-0003.zip>


More information about the Lazarus mailing list