Root Zanli
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
usr
/
lib
/
systemd
/
system
/
Filename :
[email protected]
back
Copy
[Unit] Description=Socket for Cockpit Web Service https instance %I Documentation=man:cockpit-ws(8) BindsTo=cockpit.service # clean up the socket after the service exits, to prevent fd leak # this also effectively prevents a DoS by starting arbitrarily many sockets, as # the services are resource-limited by system-cockpithttps.slice BindsTo=cockpit-wsinstance-https@%i.service # ensure our DynamicUser exists Requires=cockpit-wsinstance-socket-user.service After=cockpit-wsinstance-socket-user.service [Socket] ListenStream=/run/cockpit/wsinstance/https@%i.sock SocketUser=root SocketGroup=cockpit-wsinstance-socket SocketMode=0660 RemoveOnStop=yes