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
242db22c
Commit
242db22c
authored
Jun 17, 2017
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add logrotate config
parent
9c6e3032
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
0 deletions
+21
-0
createbytask.int.sh
vz/azbyka/createbytask.int.sh
+21
-0
No files found.
vz/azbyka/createbytask.int.sh
View file @
242db22c
...
...
@@ -34,6 +34,26 @@ EOF
fi
}
tune_logrotate
()
{
cat
<<
EOF
>>/etc/logrotate.d/apache-home-local
/home/*/log/*.log {
missingok
rotate 3
size 3000k
notifempty
sharedscripts
#create 0644 root apache2
compress
nodelaycompress
postrotate
/sbin/service httpd2 condreload >/dev/null
endscript
}
EOF
}
tune_monit
()
{
epmi
--auto
--skip-installed
monit
...
...
@@ -190,5 +210,6 @@ done
epmi
--auto
--skip-installed
$PKGINSTALL
tune_monit
tune_logrotate
epm clean
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