forked from axiom-team/astroport
17 lines
275 B
Desktop File
17 lines
275 B
Desktop File
[Unit]
|
|
Description=Service to process RTMP stream
|
|
Wants=network.target
|
|
After=ipfs.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=pi
|
|
Group=pi
|
|
ExecStart=/usr/bin/process-stream.sh
|
|
ExecStop=/bin/kill -s QUIT $MAINPID
|
|
Restart=on-failure
|
|
RestartSec=10s
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|