[Unit] Description=Socket for Cockpit Web Service https instance factory Documentation=man:cockpit-ws(8) BindsTo=cockpit.service # ensure our DynamicUser exists Requires=cockpit-ws-user.service After=cockpit-ws-user.service [Socket] ListenStream=/run/cockpit/wsinstance/https-factory.sock Accept=yes SocketUser=cockpit-ws SocketMode=0600 RemoveOnStop=yes