Problems running TDaemon lazarus / 5-Lazarus Extra Components ---------------------------------------------------------------------- cricketer · 2010-07-07 21:56 Hi I'm quite new to Lazarus(years of delphi) and am trying to develop a daemon, using TDaemon. I've compiled the cleandirs example, and 2 things have happened: 1. it's 15mb in size, which seems  a bit large 2. Trying to run it on my Ubuntu machine (according to the Readme.txt: cleandirs - r)   I get:       cleandirs: command not found I haven't put in a config file, because I don't know how to format it. can anyone point me in the right direction? thanks steve ---------------------------------------------------------------------- marcov · 2010-07-08 01:36 Quote from: cricketer on July 07, 2010, 11:56:27 pm I've compiled the cleandirs example, and 2 things have happened: 1. it's 15mb in size, which seems  a bit large That's probably because it has debuginfo in it (like "TD32 debug info" in Delphi). Use strip cleandirs on the cmdline to remedy this, and search the wiki for more info. Quote2. Trying to run it on my Ubuntu machine (according to the Readme.txt: cleandirs - r)   I get:       cleandirs: command not found That's also normal, and a linux thing. The default directory is not automatically in the PATH on *nix, so just try ./cleandirs ---------------------------------------------------------------------- cricketer · 2010-07-08 23:00 Thanks a lot for your help, that seems to be working fine now. One more question. When I run the program, it runs OK (event log shows activity etc), but it doesn't return to the command line, and I presume it should. Any ideas what I'm doing wrong? thanks stephen ps  When I'm done, I'm going to write a 'How To' for Delphi people - perhaps you could add it to the Wiki entry?