[Unit]
Description=EXIM ERP Application Service
After=network.target mysql.service redis-server.service php8.3-fpm.service
Wants=mysql.service redis-server.service php8.3-fpm.service

[Service]
Type=simple
User=www-data
Group=www-data
WorkingDirectory=/var/www/html/exim-erp
ExecStart=/usr/bin/php artisan serve --host=127.0.0.1 --port=8000
ExecReload=/bin/kill -USR2 $MAINPID
Restart=on-failure
RestartSec=5
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=exim-erp

[Install]
WantedBy=multi-user.target
