Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
genieacs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
certo
genieacs
Commits
d4d336b3
Commit
d4d336b3
authored
Jan 11, 2025
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added logrotate for logs
parent
187168a4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
1 deletion
+22
-1
Makefile
Makefile
+22
-1
No files found.
Makefile
View file @
d4d336b3
all
:
acs-cwmp-service acs-fs-service acs-nbi-service
genieacs-config
all
:
acs-cwmp-service acs-fs-service acs-nbi-service
acs-ui-service genieacs-config acs-logrotate
dd
if
=
/dev/zero
of
=
swap
bs
=
1048576
count
=
1024
chmod
600 swap
mkswap swap
...
...
@@ -10,6 +10,7 @@ all: acs-cwmp-service acs-fs-service acs-nbi-service genieacs-config
mv
genieacs-1.2.5/dist
/srv/genieacs
@echo
"$$GENIEACS_CONFIG"
>
/etc/config/genieacs
@echo
"$$GENIEACS_LOGROTATE"
>
/etc/logrotate.d/genieacs
install
-v
-Dm755
genieacs
/usr/share/easycwmp/functions
install
-v
-Dm755
genieacs-init
/usr/sbin/genieacs-init
...
...
@@ -103,3 +104,23 @@ config acs 'settings'
option
secret
''
endef
export
GENIEACS_CONFIG
acs-logrotate
:
define
GENIEACS_LOGROTATE
/var/log/genieacs/*access.log
{
daily
rotate
91
missingok
sharedscripts
compress
}
/var/log/genieacs/*error.log
{
daily
rotate
91
missingok
sharedscripts
compress
}
endef
export
GENIEACS_LOGROTATE
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