erp-next/service_factory/deploy/frappe-bench-web.service

19 lines
535 B
Desktop File

[Unit]
Description=Frappe Bench Web Server (ERPNext)
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 serve --port 8001 --proxy
Restart=always
RestartSec=10
StandardOutput=append:/opt/erpnext/frappe-bench/logs/web.log
StandardError=append:/opt/erpnext/frappe-bench/logs/web.error.log
[Install]
WantedBy=multi-user.target