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
567a551e
Commit
567a551e
authored
Dec 07, 2018
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
createbytask.sh: use hostserver instead direct cat
parent
a013e856
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
createbytask.sh
vz/azbyka/createbytask.sh
+2
-3
No files found.
vz/azbyka/createbytask.sh
View file @
567a551e
...
...
@@ -32,7 +32,7 @@ tune_yandex_mirror()
PKGINSTALL
=
if
[
-s
"base.task"
]
;
then
.
base.task
.
./
base.task
fi
TASK
=
"
$1
"
...
...
@@ -118,8 +118,7 @@ st()
# common projects
if
[
-n
"
$VEIDORIG
"
]
;
then
if
[
!
-s
"apache/
$AUSER
.conf"
]
;
then
# Здесь cat, а ниже — hostserver
cat
/var/lib/vz/root/
$VEIDORIG
/etc/httpd2/conf/sites-enabled/
$ACONF
.conf
>
apache/
$ACONF
.conf
hostserver
cat
/var/lib/vz/root/
$VEIDORIG
/etc/httpd2/conf/sites-enabled/
$ACONF
.conf
>
apache/
$ACONF
.conf
fi
[
-s
apache/
$ACONF
.conf
]
||
fatal
"Empty apache/
$ACONF
.conf"
...
...
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