- frappe-bench-web, worker, schedule, socketio, watch services - frappe-bench.target to group all services - bench-env.sh wrapper for proper PATH resolution - deploy README with installation/management instructions
19 lines
519 B
Desktop File
19 lines
519 B
Desktop File
[Unit]
|
|
Description=Frappe Bench Background Worker
|
|
Documentation=https://frappeframework.com
|
|
After=network.target redis-server.service
|
|
Requires=redis-server.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=erpnext
|
|
Group=erpnext
|
|
WorkingDirectory=/opt/erpnext/frappe-bench
|
|
ExecStart=/opt/erpnext/frappe-bench/bench-env.sh bench worker
|
|
Restart=always
|
|
RestartSec=10
|
|
StandardOutput=append:/opt/erpnext/frappe-bench/logs/worker.log
|
|
StandardError=append:/opt/erpnext/frappe-bench/logs/worker.error.log
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|