[Unit] Description=SecureChat WebSocket daemon After=network.target mysql.service mariadb.service [Service] Type=simple User=dholeraoffer WorkingDirectory=/home/dholeraoffer/public_html/call_crm/securechat/backend ExecStart=/usr/local/bin/php ws-server.php Restart=always RestartSec=3 StandardOutput=append:/home/dholeraoffer/securechat-ws.log StandardError=append:/home/dholeraoffer/securechat-ws.log [Install] WantedBy=multi-user.target