Skip to content

Commit

Permalink
Update 10-install_nginx.sh
Browse files Browse the repository at this point in the history
Adjust boot sequence of service
  • Loading branch information
logz254 authored Dec 11, 2024
1 parent b22bd97 commit 3c46886
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/10-install_nginx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ cat <<EOL | sudo tee /etc/systemd/system/nginx.service
[Unit]
Description=A high performance web server and a reverse proxy server
Documentation=man:nginx(8)
After=network.target remote-fs.target nss-lookup.target
After=network.target remote-fs.target nss-lookup.target solr.service
Requires=solr.service
[Service]
Type=forking
Expand Down Expand Up @@ -90,4 +91,4 @@ sudo systemctl restart nginx
sudo systemctl stop nginx

# Instructions to transfer the built files
echo "Nginx setup complete."
echo "Nginx setup complete."

0 comments on commit 3c46886

Please sign in to comment.