nginx rtmp

This commit is contained in:
sebseb7
2020-10-06 18:44:29 +02:00
parent b69b51fc7c
commit 86bb0cc755
5 changed files with 69 additions and 0 deletions

16
nginx.service Normal file
View File

@@ -0,0 +1,16 @@
[Unit]
Description=The NGINX HTTP and reverse proxy server
After=syslog.target network-online.target remote-fs.target nss-lookup.target
Wants=network-online.target
[Service]
Type=forking
PIDFile=/usr/local/nginx/logs/nginx.pid
ExecStartPre=/usr/local/nginx/sbin/nginx -t
ExecStart=/usr/local/nginx/sbin/nginx
ExecReload=/usr/local/nginx/sbin/nginx -s reload
ExecStop=/bin/kill -s QUIT $MAINPID
PrivateTmp=true
[Install]
WantedBy=multi-user.target