2021-04-03 02:37:14 -04:00
|
|
|
nginx_server_blocks := $(shell ./scripts/listnginxserverblocks.sh)
|
|
|
|
|
2021-05-01 15:17:49 -04:00
|
|
|
pre:
|
2021-05-01 15:17:53 -04:00
|
|
|
@chmod -R u+x ./scripts
|
2021-05-01 15:17:49 -04:00
|
|
|
|
2021-04-03 02:37:14 -04:00
|
|
|
# Formats Nginx configuration files
|
2021-05-01 15:17:49 -04:00
|
|
|
nginxfmt: pre
|
2021-04-03 02:37:14 -04:00
|
|
|
./scripts/nginxfmt.py ${nginx_server_blocks}
|
2021-04-14 22:57:08 -04:00
|
|
|
|
|
|
|
# Creates Symlinks for Nginx files, /etc/nginx/sites-available
|
2021-05-01 15:17:49 -04:00
|
|
|
nginxsym: pre
|
2021-07-06 02:01:04 -04:00
|
|
|
-rm -r /etc/nginx/sites-available/*
|
2021-04-14 22:57:08 -04:00
|
|
|
./scripts/nginxsymlinks.py
|
2021-06-08 01:33:21 -04:00
|
|
|
|
|
|
|
# Create Symlinks for Dovecot files, /etc/dovecot/conf.d
|
|
|
|
dovecotsym: pre
|
2021-07-06 02:01:04 -04:00
|
|
|
-rm -rf /etc/dovecot/conf.d/*
|
2021-06-08 01:33:21 -04:00
|
|
|
./scripts/dovecotsymlinks.py
|