mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Support systemctl service for CentOS7. 3.0.58
This commit is contained in:
parent
f6fc31db66
commit
64288d1f1e
5 changed files with 49 additions and 11 deletions
12
trunk/usr/lib/systemd/system/srs.service
Normal file
12
trunk/usr/lib/systemd/system/srs.service
Normal file
|
@ -0,0 +1,12 @@
|
|||
[Unit]
|
||||
Description=The SRS Media Stream Cluster
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStart=/etc/init.d/srs start
|
||||
ExecReload=/etc/init.d/srs reload
|
||||
ExecStop=/etc/init.d/srs stop
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue