2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-13 16:56:33 +00:00

Fix short worker template

This commit is contained in:
Revant Nandgaonkar 2018-04-12 16:05:29 +05:30
parent 9f7725f6ed
commit b5f180ae9f

View File

@ -1,10 +1,10 @@
[Unit] [Unit]
Description="{{ bench }}-frappe-short-worker" Description="{{ bench_name }}-frappe-short-worker"
PartOf={{ bench }}-workers.target PartOf={{ bench_name }}-workers.target
[Service] [Service]
User=revant User={{ user }}
Group=revant Group={{ user }}
Restart=always Restart=always
ExecStart={{ bench_cmd }} worker --queue short ExecStart={{ bench_cmd }} worker --queue short
StandardOutput=file:{{ bench_dir }}/logs/worker.log StandardOutput=file:{{ bench_dir }}/logs/worker.log