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
5828c460
Commit
5828c460
authored
Feb 16, 2025
by
Vladimir Bashkirtsev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
systemd should load environment variables file before starting services
parent
338d9f03
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
Makefile
Makefile
+4
-0
No files found.
Makefile
View file @
5828c460
...
@@ -37,6 +37,7 @@ Description=GenieACS CWMP
...
@@ -37,6 +37,7 @@ Description=GenieACS CWMP
[Service]
[Service]
Environment
=
"NODE_PATH=/srv/genieacs/node_modules"
Environment
=
"NODE_PATH=/srv/genieacs/node_modules"
ConditionFileNotEmpty
=
/run/genieacs/config.env
ConditionFileNotEmpty
=
/run/genieacs/config.env
EnvironmentFile
=
/run/genieacs/config.env
Restart
=
always
Restart
=
always
ExecStartPre
=
/usr/sbin/genieacs-init
ExecStartPre
=
/usr/sbin/genieacs-init
ExecStart
=
/srv/genieacs/bin/genieacs-cwmp
ExecStart
=
/srv/genieacs/bin/genieacs-cwmp
...
@@ -54,6 +55,7 @@ Description=GenieACS file system
...
@@ -54,6 +55,7 @@ Description=GenieACS file system
[Service]
[Service]
Environment
=
"NODE_PATH=/srv/genieacs/node_modules"
Environment
=
"NODE_PATH=/srv/genieacs/node_modules"
ConditionFileNotEmpty
=
/run/genieacs/config.env
ConditionFileNotEmpty
=
/run/genieacs/config.env
EnvironmentFile
=
/run/genieacs/config.env
Restart
=
always
Restart
=
always
ExecStartPre
=
/usr/sbin/genieacs-init
ExecStartPre
=
/usr/sbin/genieacs-init
ExecStart
=
/srv/genieacs/bin/genieacs-fs
ExecStart
=
/srv/genieacs/bin/genieacs-fs
...
@@ -71,6 +73,7 @@ Description=GenieACS north bound interface
...
@@ -71,6 +73,7 @@ Description=GenieACS north bound interface
[Service]
[Service]
Environment
=
"NODE_PATH=/srv/genieacs/node_modules"
Environment
=
"NODE_PATH=/srv/genieacs/node_modules"
ConditionFileNotEmpty
=
/run/genieacs/config.env
ConditionFileNotEmpty
=
/run/genieacs/config.env
EnvironmentFile
=
/run/genieacs/config.env
Restart
=
always
Restart
=
always
ExecStartPre
=
/usr/sbin/genieacs-init
ExecStartPre
=
/usr/sbin/genieacs-init
ExecStart
=
/srv/genieacs/bin/genieacs-nbi
ExecStart
=
/srv/genieacs/bin/genieacs-nbi
...
@@ -88,6 +91,7 @@ Description=GenieACS user interface
...
@@ -88,6 +91,7 @@ Description=GenieACS user interface
[Service]
[Service]
Environment
=
"NODE_PATH=/srv/genieacs/node_modules"
Environment
=
"NODE_PATH=/srv/genieacs/node_modules"
ConditionFileNotEmpty
=
/run/genieacs/config.env
ConditionFileNotEmpty
=
/run/genieacs/config.env
EnvironmentFile
=
/run/genieacs/config.env
Restart
=
always
Restart
=
always
ExecStartPre
=
/usr/sbin/genieacs-init
ExecStartPre
=
/usr/sbin/genieacs-init
ExecStart
=
/srv/genieacs/bin/genieacs-ui
ExecStart
=
/srv/genieacs/bin/genieacs-ui
...
...
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