Skip to content

hrenod/modem-watchdog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Requirements

WebIOPi

Installation

cp env.conf.example env.conf
mkdir /var/log/checker
chown -R pi /var/log/checker

Set WebIOPi credentials and GPIO pin number in env.conf

Crontab

*/5 * * * * cd /home/pi/checker; ./checker.sh

Logrotate

Create a file /etc/logrotate.d/checker:

/var/log/checker/checker.log {
        monthly
        rotate 12
        compress
        delaycompress
        missingok
        notifempty
        create 644 pi pi
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages