Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mtproto_proxy
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
mtproto_proxy
Commits
46800f06
Unverified
Commit
46800f06
authored
Aug 28, 2019
by
Sergey Prokhorov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor makefile fixes
* fix epmd detection on CentOS * get rid of awk dependency
parent
c6e6ee6f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Makefile
Makefile
+2
-2
No files found.
Makefile
View file @
46800f06
...
...
@@ -43,14 +43,14 @@ install: user $(LOGDIR)
chmod
777
$(prefix)
/mtp_proxy/log/
install
-D
config/mtproto-proxy.service
$(SERVICE)
# If there is no "epmd" service, install one
if
[
-z
"`systemctl show -p FragmentPath
--value epmd
`"
];
then
\
if
[
-z
"`systemctl show -p FragmentPath
epmd | cut -d = -f 2
`"
];
then
\
install
-D
config/epmd.service
$(EPMD_SERVICE);
\
fi
systemctl
daemon-reload
.PHONY
:
update-sysconfig
update-sysconfig
:
config/prod-sys.config $(prefix)/mtp_proxy
REL_VSN
=
$(
shell
awk
'{print $$2}'
$(prefix)
/mtp_proxy/releases/start_erl.data
)
&&
\
REL_VSN
=
$(
shell
cut
-d
" "
-f
2
$(prefix)
/mtp_proxy/releases/start_erl.data
)
&&
\
install
-m
644 config/prod-sys.config
"
$(prefix)
/mtp_proxy/releases/
$$
{REL_VSN}/sys.config"
uninstall
:
...
...
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