erp-next/deploy/bench-env.sh
cclohmar 759fac5a67 chore: add deploy config with systemd services for auto-start on boot
- 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
2026-07-15 20:44:59 +00:00

6 lines
244 B
Bash
Executable file

#!/bin/bash
# Environment wrapper for Frappe bench services
export PATH="/opt/erpnext/home/.local/share/pipx/venvs/frappe-bench/bin:/opt/erpnext/frappe-bench/env/bin:$PATH"
export HOME="/opt/erpnext/home"
cd /opt/erpnext/frappe-bench
exec "$@"