File: //proc/thread-self/root/lib/systemd/system/plesk-web-socket.service
# Copyright 1999-2026. WebPros International GmbH. All rights reserved.
[Unit]
Description=Plesk Web Socket Service
Wants=mariadb.service mysql.service
After=network.target mariadb.service mysql.service
[Service]
Type=simple
ExecStart=/usr/local/psa/bin/sw-engine-pleskrun /usr/local/psa/admin/plib/WebSocket/bin/ws-server.php
User=psaadm
Group=psaadm
RuntimeDirectory=plesk-web-socket
RuntimeDirectoryMode=0770
[Install]
WantedBy=multi-user.target