summarylogtreecommitdiffstats
path: root/mediamtx@.service
diff options
context:
space:
mode:
authordatabase641282023-06-17 00:22:02 +0800
committerdatabase641282023-06-17 00:22:02 +0800
commita1dd75bb381f99bf50d52ba75c2c39e081fc9630 (patch)
treeb77be3c879dcc725ac7ff922ed5d153bea180f1b /mediamtx@.service
downloadaur-a1dd75bb381f99bf50d52ba75c2c39e081fc9630.tar.gz
🎬 Initial commit
Diffstat (limited to 'mediamtx@.service')
-rw-r--r--mediamtx@.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/mediamtx@.service b/mediamtx@.service
new file mode 100644
index 000000000000..055ce642505b
--- /dev/null
+++ b/mediamtx@.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=MediaMTX
+After=network-online.target
+Wants=network-online.target
+
+[Service]
+ExecStart=/usr/bin/mediamtx /etc/mediamtx/%i.yml
+
+[Install]
+WantedBy=multi-user.target