Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
etersoft-admin-essentials
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
etersoft-admin-essentials
Commits
fe967700
Commit
fe967700
authored
Oct 20, 2020
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add STATIC_suffix support
parent
df0f8729
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
createbytask.int.sh
vz/azbyka/createbytask.int.sh
+1
-0
update_nginx.sh
vz/azbyka/update_nginx.sh
+1
-1
No files found.
vz/azbyka/createbytask.int.sh
View file @
fe967700
...
...
@@ -160,6 +160,7 @@ check process httpd2 with pidfile /var/run/httpd2/httpd.pid
and request "/server-status" timeout 20 seconds 3 times within 4 cycles then restart
EOF
# TODO: enable /server-status for localhost/server-status
subst
"s|monit:secretword|monit:Dip74iFwwP12|g"
/etc/monitrc
subst
"s|^set mailserver .*|set mailserver smtp.azbyka.ru port 587|g"
/etc/monitrc
subst
"s|set alert root@localhost.*|set alert
$ADMINEMAIL
|g"
/etc/monitrc
...
...
vz/azbyka/update_nginx.sh
View file @
fe967700
...
...
@@ -95,7 +95,7 @@ echo "$TASK" | grep -q "ves/" || TASK="ves/$1.task"
load_config
"
$TASK
"
DROOT
=
$HOSTHOME
/
$AUSER
/www/
$BASESITE
DROOT
=
$HOSTHOME
/
$AUSER
/www/
$BASESITE
$STATIC_suffix
UPSTREAMNAME
=
"upstream-
$ACONF
"
UPSTREAM
=
"http://
$UPSTREAMNAME
"
VEPORT
=
$(
printf
"%03d"
$((
$VEID
-
100
)))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment