mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-15 17:12:59 -04:00
big shot
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
[Unit]
|
||||
Description=Rover Audio Capture (arecord to FIFO)
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=roverd
|
||||
Group=audio
|
||||
Environment=AUDIO_FIFO=/var/lib/roverd/audio.pcm
|
||||
Environment=AUDIO_DEVICE=hw:0,0
|
||||
Environment=AUDIO_FORMAT=S32_LE
|
||||
Environment=AUDIO_RATE=48000
|
||||
Environment=AUDIO_CHANNELS=2
|
||||
ExecStart=/usr/local/bin/audio-capture
|
||||
Restart=always
|
||||
RestartSec=2
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@@ -1,7 +1,7 @@
|
||||
[Unit]
|
||||
Description=Rover Video Publisher (libcamera -> SRT)
|
||||
After=network-online.target roverd.service
|
||||
Wants=network-online.target
|
||||
After=network-online.target roverd.service audio-capture.service
|
||||
Wants=network-online.target audio-capture.service
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
|
||||
Reference in New Issue
Block a user