mirror of
https://github.com/ossrs/srs.git
synced 2025-02-13 03:41:55 +00:00
23 lines
600 B
Desktop File
23 lines
600 B
Desktop File
[Unit]
|
|
Description=srs - a simple, high efficiency and realtime video server
|
|
Documentation=https://github.com/ossrs/srs/wiki
|
|
After=network-online.target remote-fs.target nss-lookup.target
|
|
Wants=network-online.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=nobody
|
|
Group=nobody
|
|
WorkingDirectory=/var/lib/srs
|
|
EnvironmentFile=-/etc/sysconfig/srs
|
|
PIDFile=/var/lib/srs/srs.pid
|
|
ExecStartPre=/usr/bin/srs -c /etc/srs/srs.conf -t
|
|
ExecStart=/usr/bin/srs -c /etc/srs/srs.conf
|
|
ExecReload=/bin/kill -s HUP $MAINPID
|
|
ExecStop=/bin/kill -s TERM $MAINPID
|
|
Restart=on-failure
|
|
PrivateTmp=true
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|