I'm stopping by: sudo service my_script.sh stop. Ok so I just use shutdown event instead -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20130304/680bf10d/attachment.html>