Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 804 Bytes

File metadata and controls

42 lines (28 loc) · 804 Bytes

recorder

A script and systemd service to automatically start a recording process on boot. The script prepares a timestamp variable for use in log or recording filenames.

Installation

cd recorder
./install_service.sh
# Edit /etc/recorder.conf and set configuration options, then restart the service
sudo systemctl restart recorder.service

Update

After making changes to the script or service file, reinstall:

./install_service.sh

Uninstall

./uninstall_service.sh

Configuration

Edit /etc/recorder.conf to override defaults or add options:

sudo vim /etc/recorder.conf

After changing the config, restart the service:

sudo systemctl restart recorder.service

Set up cronjob to control data retention (i.e. delete after 7 days)