Skip to content
Snippets Groups Projects

WIP: Start, stop, and supervise gwcelery with systemd

Closed Leo Pound Singer requested to merge leo-singer/gwcelery:systemd into main
Compare and Show latest version
1 file
+ 11
11
Compare changes
  • Side-by-side
  • Inline
@@ -10,23 +10,23 @@ Environment=CELERY_BROKER_URL=redis+socket://%t/gwcelery/redis.sock
ExecStart=/usr/bin/env \
gwcelery multi start \
celery openmp exttrig superevent \
--queues %%n \
--concurrency:openmp,exttrig,superevent 1 \
--pidfile %t/gwcelery/%%n.pid \
--logfile %L/gwcelery/%%n.log \
--loglevel INFO
--queues=%%n \
--concurrency:openmp,exttrig,superevent=1 \
--pidfile=%t/gwcelery/%%n.pid \
--logfile=%L/gwcelery/%%n.log \
--loglevel=INFO
ExecStop=/usr/bin/env \
gwcelery multi stopwait \
celery openmp exttrig superevent \
--pidfile %t/gwcelery/%%n.pid
--pidfile=%t/gwcelery/%%n.pid
ExecReload=/usr/bin/env \
gwcelery multi reload \
celery openmp exttrig superevent \
--queues %%n \
--concurrency openmp,exttrig,superevent:1 \
--pidfile %t/gwcelery/%%n.pid \
--logfile %L/gwcelery/%%n.log \
--loglevel INFO
--queues=%%n \
--concurrency:openmp,exttrig,superevent=1 \
--pidfile=%t/gwcelery/%%n.pid \
--logfile=%L/gwcelery/%%n.log \
--loglevel=INFO
[Install]
WantedBy=multi-user.target
Loading