()
| 451 | `; |
| 452 | |
| 453 | const validatePorts = () => ` |
| 454 | # check if something is running on port 80 |
| 455 | if ss -tulnp | grep ':80 ' >/dev/null; then |
| 456 | echo "Something is already running on port 80" >&2 |
| 457 | fi |
| 458 | |
| 459 | # check if something is running on port 443 |
| 460 | if ss -tulnp | grep ':443 ' >/dev/null; then |
| 461 | echo "Something is already running on port 443" >&2 |
| 462 | fi |
| 463 | `; |
| 464 | |
| 465 | const installUtilities = () => ` |
| 466 |