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
483e8373
Commit
483e8373
authored
Oct 06, 2017
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
createbytasks fixes (includes issue)
parent
b295bc4c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
createbytask.int.sh
vz/azbyka/createbytask.int.sh
+5
-5
createbytask.sh
vz/azbyka/createbytask.sh
+2
-0
No files found.
vz/azbyka/createbytask.int.sh
View file @
483e8373
...
...
@@ -119,12 +119,12 @@ tune_php7()
tune_apache2
()
{
for
i
in
mod_php7 status mpm_itk remoteip setenvif rewrite session
;
do
for
i
in
mod_php7 status mpm_itk remoteip setenvif rewrite session
include
;
do
a2enmod
$i
done
for
i
in
include
;
do
a2dismod
$i
done
#
for i in include; do
#
a2dismod $i
#
done
for
i
in
httpd-multilang-errordoc
;
do
a2disextra
$i
...
...
@@ -152,7 +152,7 @@ EOF
#subst "s|^Listen .*|Listen $PORT|" /etc/httpd2/conf/ports-enabled/http.conf
subst
"s| *
\(
SetEnvIf.*
\)
|
\n\
<Directory />
\n\
Options FollowSymLinks MultiViews
\n\
Options FollowSymLinks MultiViews
$APACHEDIROPTIONS
\n\
AllowOverride FileInfo AuthConfig
\n\
</Directory>
\n\
\n\
...
...
vz/azbyka/createbytask.sh
View file @
483e8373
...
...
@@ -117,6 +117,8 @@ st test -s /tmp/prepend.php || fatal "Empty prepend.php"
ATASK
=
/tmp/
$(
basename
$TASK
)
(
[
-s
"base.task"
]
&&
cat
base.task
;
echo
;
cat
$TASK
;
)
| st
tee
$ATASK
>
/dev/null
# empty line
echo
""
| st
tee
-a
$ATASK
# if we detected it before
echo
"NAME=
$NAME
"
| st
tee
-a
$ATASK
echo
"AUSER=
$AUSER
"
| st
tee
-a
$ATASK
...
...
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