systemd startup script
Andrew Shadura
andrew at shadura.me
Fri May 6 14:32:55 UTC 2016
On 6 May 2016 at 15:38, Nagy Ákos <nagy.akos at codespring.ro> wrote:
> This script can start celeryd and kallithea in same unit, but because
> celeryd can't run as daemon and I don't know how to run in background,
> termination with time out:
You don't need to do anything special to run it in the background,
just always use Type=simple. Also, you don't need a PID file if you
use simple.
>
> [Unit]
> Description=Kallithea and celeryd
>
> [Service]
> PIDFile=/srv/kallithea/kallithea.pid
--
Cheers,
Andrew
More information about the kallithea-general
mailing list