1
0
Fork 0
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:
winlin 2019-10-05 20:33:26 +08:00
parent f6fc31db66
commit 64288d1f1e
5 changed files with 49 additions and 11 deletions

View 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