mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Refine install script
This commit is contained in:
parent
fb98113550
commit
d401c83a66
1 changed files with 0 additions and 8 deletions
8
trunk/configure
vendored
8
trunk/configure
vendored
|
@ -612,14 +612,6 @@ install:
|
|||
@mkdir -p \$(__REAL_INSTALL)/usr/lib/systemd/system
|
||||
@cp -f usr/lib/systemd/system/srs.service \$(__REAL_INSTALL)/usr/lib/systemd/system/srs.service
|
||||
@echo ""
|
||||
@echo "The api installed, to link and start srs, please"
|
||||
@echo "For CentOS6:"
|
||||
@echo " sudo ln -sf \$(SRS_PREFIX)/etc/init.d/srs /etc/init.d/srs &&"
|
||||
@echo " /etc/init.d/srs start"
|
||||
@echo "For CentOS7:"
|
||||
@echo " sudo ln -sf \$(SRS_PREFIX)/etc/init.d/srs /etc/init.d/srs &&"
|
||||
@echo " sudo cp -f \$(SRS_PREFIX)/usr/lib/systemd/system/srs.service /usr/lib/systemd/system/srs.service && sudo systemctl daemon-reload && sudo systemctl enable srs &&"
|
||||
@echo " sudo systemctl start srs"
|
||||
@echo "@see: https://github.com/ossrs/srs/wiki/v3_CN_LinuxService"
|
||||
|
||||
END
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue