RPi action coordinator
Go to file
Mike Cifelli d0e1c53fde
Retry marshaller activation on timeout
2024-10-12 17:00:47 -04:00
.gitignore Initial commit 2023-10-30 09:20:48 -04:00
LICENSE Initial commit 2023-10-30 09:20:48 -04:00
README.md Update readme 2024-04-04 10:33:45 -04:00
ground-control.py Retry marshaller activation on timeout 2024-10-12 17:00:47 -04:00
ground-control.sample.cfg Initial commit 2023-10-30 09:20:48 -04:00
ground-control.service Install at the user level 2024-04-04 09:43:44 -04:00
install Show warning if linger is not enabled 2024-04-04 10:32:05 -04:00

README.md

ground-control

A Raspberry Pi project for coordinating actions between systems.

Configuration

cp ground-control.sample.cfg ground-control.cfg

Installation

sudo loginctl enable-linger <user>
./install

Output

By default output will be in /var/log/syslog. A separate log file can be used by creating /etc/rsyslog.d/30-ground-control.conf containing:

if $programname == 'ground-control' then /var/log/ground-control.log
& stop

and then restart the rsyslog service:

sudo systemctl restart rsyslog

This log file can be rotated by creating /etc/logrotate.d/ground-control containing:

/var/log/ground-control.log
{
        rotate 14
        daily
        create
        missingok
        notifempty
        compress
        delaycompress
        postrotate
                /usr/lib/rsyslog/rsyslog-rotate
        endscript
}