mirror of
https://github.com/actions/runner-images.git
synced 2025-12-13 12:48:18 +00:00
* [ubuntu] Rename build scripts * [ubuntu] Change reboot to inline shell * [ubuntu] Move disk space validation to pester tests * [ubuntu] Rename helper and tests files * [ubuntu] Changes to cleanup, post-deployment and r scripts
15 lines
438 B
Bash
15 lines
438 B
Bash
#!/bin/bash -e
|
|
################################################################################
|
|
## File: install-nginx.sh
|
|
## Desc: Install Nginx
|
|
################################################################################
|
|
|
|
# Install Nginx
|
|
apt-get install nginx -y
|
|
|
|
# Disable nginx.service
|
|
systemctl is-active --quiet nginx.service && systemctl stop nginx.service
|
|
systemctl disable nginx.service
|
|
|
|
invoke_tests "WebServers" "Nginx"
|