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
338d9f03
Commit
338d9f03
authored
Feb 15, 2025
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
GenieACS needs production node_modules
parent
d4d336b3
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
Makefile
Makefile
+5
-0
No files found.
Makefile
View file @
338d9f03
...
@@ -9,6 +9,7 @@ all: acs-cwmp-service acs-fs-service acs-nbi-service acs-ui-service genieacs-con
...
@@ -9,6 +9,7 @@ all: acs-cwmp-service acs-fs-service acs-nbi-service acs-ui-service genieacs-con
cd
genieacs-1.2.5
&&
NODE_OPTIONS
=
"--max-old-space-size=3072"
npm run build
cd
genieacs-1.2.5
&&
NODE_OPTIONS
=
"--max-old-space-size=3072"
npm run build
mv
genieacs-1.2.5/dist
/srv/genieacs
mv
genieacs-1.2.5/dist
/srv/genieacs
cd
/srv/genieacs
&&
npm
install
--production
@echo
"$$GENIEACS_CONFIG"
>
/etc/config/genieacs
@echo
"$$GENIEACS_CONFIG"
>
/etc/config/genieacs
@echo
"$$GENIEACS_LOGROTATE"
>
/etc/logrotate.d/genieacs
@echo
"$$GENIEACS_LOGROTATE"
>
/etc/logrotate.d/genieacs
install
-v
-Dm755
genieacs
/usr/share/easycwmp/functions
install
-v
-Dm755
genieacs
/usr/share/easycwmp/functions
...
@@ -34,6 +35,7 @@ define ACS_CWMP_SERVICE
...
@@ -34,6 +35,7 @@ define ACS_CWMP_SERVICE
Description
=
GenieACS CWMP
Description
=
GenieACS CWMP
[Service]
[Service]
Environment
=
"NODE_PATH=/srv/genieacs/node_modules"
ConditionFileNotEmpty
=
/run/genieacs/config.env
ConditionFileNotEmpty
=
/run/genieacs/config.env
Restart
=
always
Restart
=
always
ExecStartPre
=
/usr/sbin/genieacs-init
ExecStartPre
=
/usr/sbin/genieacs-init
...
@@ -50,6 +52,7 @@ define ACS_FS_SERVICE
...
@@ -50,6 +52,7 @@ define ACS_FS_SERVICE
Description
=
GenieACS file system
Description
=
GenieACS file system
[Service]
[Service]
Environment
=
"NODE_PATH=/srv/genieacs/node_modules"
ConditionFileNotEmpty
=
/run/genieacs/config.env
ConditionFileNotEmpty
=
/run/genieacs/config.env
Restart
=
always
Restart
=
always
ExecStartPre
=
/usr/sbin/genieacs-init
ExecStartPre
=
/usr/sbin/genieacs-init
...
@@ -66,6 +69,7 @@ define ACS_NBI_SERVICE
...
@@ -66,6 +69,7 @@ define ACS_NBI_SERVICE
Description
=
GenieACS north bound interface
Description
=
GenieACS north bound interface
[Service]
[Service]
Environment
=
"NODE_PATH=/srv/genieacs/node_modules"
ConditionFileNotEmpty
=
/run/genieacs/config.env
ConditionFileNotEmpty
=
/run/genieacs/config.env
Restart
=
always
Restart
=
always
ExecStartPre
=
/usr/sbin/genieacs-init
ExecStartPre
=
/usr/sbin/genieacs-init
...
@@ -82,6 +86,7 @@ define ACS_UI_SERVICE
...
@@ -82,6 +86,7 @@ define ACS_UI_SERVICE
Description
=
GenieACS user interface
Description
=
GenieACS user interface
[Service]
[Service]
Environment
=
"NODE_PATH=/srv/genieacs/node_modules"
ConditionFileNotEmpty
=
/run/genieacs/config.env
ConditionFileNotEmpty
=
/run/genieacs/config.env
Restart
=
always
Restart
=
always
ExecStartPre
=
/usr/sbin/genieacs-init
ExecStartPre
=
/usr/sbin/genieacs-init
...
...
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