[Unit]
Description=BGERP
After=network.target mariadb.service

[Service]
Type=forking
ExecStart=/opt/bgerp/erp.sh start
ExecStop=/opt/bgerp/erp.sh stop
PIDFile=/opt/bgerp/.run/bgerp.pid

[Install]
WantedBy=multi-user.target