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:
parent
9f7725f6ed
commit
b5f180ae9f
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user