Closed tmack8001 closed 3 years ago
I have verified this latest script will modify the correct files as appropriate.
ls -ltr /etc/nginx/sites-available
total 4
-rw-r--r-- 1 root root 2412 Apr 16 16:36 picobrew.com.conf.bak
lrwxrwxrwx 1 root root 43 Apr 16 16:36 picobrew.com.conf -> /picobrew_pico/scripts/pi/picobrew.com.conf
and following executions will return a "nothing to do here"
and after the -q for grep
Leveraging the post git upgrade script and the new source controlled ngnix configuration we can more easily modify nginx configurations on server update.
I want to test this script on a raspberrypi to verify syntax and such works thus leaving as a draft to prevent merging.