| 1 |
[Unit] |
| 2 |
Description=Cockpit Web Service http instance |
| 3 |
Documentation=man:cockpit-ws(8) |
| 4 |
BindsTo=cockpit.service |
| 5 |
Requires=cockpit-session.socket |
| 6 |
After=cockpit-session.socket |
| 7 |
|
| 8 |
[Service] |
| 9 |
ExecStart=@libexecdir@/cockpit-ws --no-tls --port=0 |
| 10 |
DynamicUser=yes |
| 11 |
Group=cockpit-session-socket |
| 12 |
|
| 13 |
PrivateDevices=yes |
| 14 |
ProtectKernelTunables=yes |
| 15 |
ProtectControlGroups=yes |
| 16 |
ProtectSystem=strict |
| 17 |
MemoryDenyWriteExecute=yes |
| 18 |
SystemCallFilter=@system-service |
| 19 |
|
| 20 |
# cockpit-tls does all our outside web related networking, but ws also calls ssh |
| 21 |
PrivateIPC=yes |
| 22 |
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6 |