On Thu, 20 May 2021, Bo Berglund via fpc-pascal wrote:
I would like my service application to restart itself once per 24 hours, but only when nothing else is going on. So the application itself would know this but how can I make it restart itself (as the service)?
Just exit ? If you configured systemd to start your app correctly it will restart it.
Michael. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal